Hi I am trying to configure SSL for openfire. Below are the steps I followed
- Created a selfsigned server certificate using the command
keytool -storepasswd -keystore keystore
- executed the command
keytool -genkey -keystore keystore -alias
- deleted the existing dsa
keytool -delete -keystore keystore -alias rsa
keytool -delete -keystore keystore -alias dsa
- Configured the openfire settings as below
xmpp.socket.ssl.active – set to ‘true’ to active SSL
xmpp.socket.ssl.port – the port to use for SSL (default is 5223 for XMPP)
xmpp.socket.ssl.storeType – the store type used (“JKS” is the Sun Java Keystore format used by the JDK keytool). If this property is not defined, Openfire will assume a value of “jks”.
xmpp.socket.ssl.keystore – the location of the keystore file relative to your Openfire installation root directory. You can leave this property blank to use the default keystore.
xmpp.socket.ssl.keypass – the keystore/key password you changed in step 2.
xmpp.socket.ssl.truststore – leave blank to not use a truststore, otherwise the location of the truststore file relative to your Openfire installation root directory.
xmpp.socket.ssl.trustpass – the truststore/key password you changed in step 6.
After restaring the server Getting error Error Starting 5223 : null"
Please let me know if I am missing anything