java - PKCS12 file can't load by keytool -
get p12 file , tried load keytool, shows 0 entry ,but can import microsoft windows application, double click file
 keytool -list -v -keystore test.p12 -storetype pkcs12  enter keystore password:   keystore type: pkcs12  keystore provider: ibmjce   keystore contains 0 entry      
this stupid error comes there space after entry in file. there many more scenarios, occurs in websphere when trying load file in keystore , there file, throws teh same error.
i suggest open file in basic word editor, windows notepad or command line editors , check if there space or character @ end.
Comments
Post a Comment