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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -