title: How to add SunJSSE security provider in a Websphere appserver
body: <p>I'm trying to use a thirdparty JAR that has this code:</p>
  
  <pre><code>KeyStore.getInstance("PKCS12", "SunJSSE");
  </code></pre>
  
  <p>While running the code in Websphere Application server, it fails with a </p>
  
  <blockquote>
    <p>java.security.NoSuchProviderException: no such provider: SunJSSE</p>
  </blockquote>
  
  <p>The provider for <strong>PKCS12</strong> in the IBM world is <strong>IBMJCE</strong> Provider. Would replacing the entry for SunJSSE to <strong>com.ibm.jsse2.IBMJSSEProvider2</strong> in java.security file work? Even if it does,  is that the best way to make this work? </p>