powered by Jive Software

Configuration SSL in Openfire

Hi I am trying to configure SSL for openfire. Below are the steps I followed

  1. Created a selfsigned server certificate using the command
    keytool -storepasswd -keystore keystore
  2. executed the command
    keytool -genkey -keystore keystore -alias
  3. deleted the existing dsa
    keytool -delete -keystore keystore -alias rsa
    keytool -delete -keystore keystore -alias dsa
  4. 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

What guide are you following? If you need self-signed certificates, then Openfire generates them on its own when you install it, or you can generate new ones in Admin Console. Also, you should use 5222 port usually.