Enabling SSL for Openfire chat server
To configure SSL for Openfire
- Obtain a valid, signed certificate from a trusted certificate authority (CA). The certificate can be in any format, such as .pem, .cer, or .crt.
- Import the certificate provided by the CA. Do these steps for all Openfire nodes, if installed in a cluster.
- Import the signed root certificate and private key to the Openfire keystore, located by default in <Openfire_installation_directory>/resources/security/keystore.
Import the Smart IT server certificate to the Openfire truststore, located by default in <Openfire_installation_directory>/resources/security/truststore. Also import the Smart IT certificate to the client.truststore, if available (<Openfire_installation_directory>/resources/security/client.truststore).
Import the the Openfire root certificate to the installed JRE location used by Smart IT for the mutual handshake: <JRE_installation_directory>/lib/security/cacerts.
Change the following statements from the Centralized Configuration (CCS).
chat.server.cm.host = <Fully qualified domain name (FQDN)>
chat.server.client.port = 5222
chat.server.admin.login =
chat.server.admin.password =
chat.server.groupChatService = conference
chat.server.admin.pool.size = 6
chat.server.boshUrl = https://<Fully qualified domain name (FQDN)>:<port>/http-bind/
chat.server.domain = <Fully qualified domain name (FQDN)>Example:
chat.server.cm.host = ofchat-vm.calbro.com
chat.server.client.port = 5222
chat.server.admin.login = admin
chat.server.admin.password = fdNSxb1XU5a%2F184s3OkhcA%3D%3D
chat.server.groupChatService = conference
chat.server.admin.pool.size = 6
chat.server.boshUrl = https://ofchat-vm.calbro.com:7443/http-bind/
chat.server.domain = ofchat-vm.calbro.com- From the Openfire Admin Console, go to Server > Server Manager > System Properties.
- Change the provider.auth.authResource property to https://<Smart_IT_host>:<Smart_IT_port>/smartit/rest/users/chat/.
Example: https://smartit-vm2.calbro.com:8443/smartit/rest/users/chat/ - Restart the Openfire service.
If the Openfire or SSL services do not start, look for errors in the Openfire logs to confirm that the certificate imports were correct. - Restart the Smart IT service.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*