We have updated JRE from 1.8 Update 131 to 1.8 Update 151 version.
We followed the same process to generate the keystore from the certificate as we did in JRE 1.8 Update 131.
After the update we are getting the below exception while loading the keystore.
java.io.IOException: Invalid secret key format
at com.sun.crypto.provider.JceKeyStore.engin eLoad(JceKeyStore.java:856)
at java.security.KeyStore.load(Unknown Source)
There is no change in our java code.
Can you please help us resolve this issue.