Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Getting keystore password was incorrect with PKCS12 in java 11

4009746May 29 2019 — edited May 29 2019

When using PKCS12 certificate with Java 11.0.2, getting error -

java.io.IOException: keystore password was incorrect

    at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2108)

But not getting any issue with JKS certificates,

also same code i tested with Java 12.0.1 with PKCS12 cert I am not getting any error.

How can i fix this this issue with my current java version 11.0.1, any suggestion ?

Comments
Post Details
Added on May 29 2019
0 comments
2,720 views