powered by Jive Software

Self-signed server certificate problems

Hi, im trying to follow the Openfire SSL guide, but im having some troubles, when i run :

keytool -storepasswd -keystore keystore

promt me for a password, i try “changeit”, like in the ssl guide and i always get the following error:

keytool error: gnu.javax.crypto.keyring.MalformedKeyringException: incorrect magic

Im using Openfire 3.6.4, i was looking into the forum and i found this post:

http://www.igniterealtime.org/community/message/167546;jsessionid=63880D5CBF5AC3 A2DDE5E946181AF15C

But the problems continue, i dont know if someone has a workaround about it. any help will be apreciated.

Thanks in advanced.

It might help to delete your keystore / truststore and start over from empty ones; my thread “Re: WORKING SSL Setup Instructions?” has lots of examples for using keytool. “jre/bin/keytool -keystore ./resources/security/keystore -list” should show any empy keystore.