You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line of code in AuthenticationUtils results in a "provider not found" exception in Websphere. KeyStore.getInstance("PKCS12", "SunJSSE");
In Websphere, the equivalent provider is com.ibm.jsse2.IBMJSSEProvider2
According to Oracle documentation -
General purpose applications SHOULD NOT request cryptographic services from specific providers
getInstance("...", "SunJCE"); // not recommended
// ... versus ...
getInstance("..."); // recommended
This line of code in AuthenticationUtils results in a "provider not found" exception in Websphere.
KeyStore.getInstance("PKCS12", "SunJSSE");
In Websphere, the equivalent provider is com.ibm.jsse2.IBMJSSEProvider2
According to Oracle documentation -
https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html.
The code should say, KeyStore.getInstance("PKCS12") and allow the runtime to select security providers based on the environment.
The text was updated successfully, but these errors were encountered: