The core function of an SSL certificate is to secure and encrypt server-client communication.
Certificate with .jks format (i.e. java keystore) format and its password.
You can get SSL Certificate for your application or website.
Get an SSL certificate from a Certificate Authority:
You can purchase from vendors like Godaddy, DigiCert, etc.
Use hosts that integrate SSL and configure HTTPS or use a host that provides free SSL security:
A number of web hosts such as AWS provide SSL certificate services (Certificate Manager) and automatically configure web servers to support HTTPS connections. Some hosts such as Google also provide SSL security for the sites hosted on some of their products for free.
The certificate provider will generate the jks file and provide to you.
Steps to configure:
1. Stop the wildfly service
2. Put the certificate in the below wildfly folder.
Path - C:\smarten\wildfly\standalone\configuration\
3. Open standalone.xml file from Configuration folder.
4. Find the <ssl> tag and change the keystore path and keystore - password to the certificate path and its password. Edit and save the xml.
5. Start the wildfly with the new HTTPS link. After adding an SSL Certificate, it redirects the URL from HTTP to HTTPS.
(For e.g.) https://domainname: 8443/smarten/login
Note: This article is based on Smarten Version 5.0. This may or may not be relevant to the Smarten version you may be using.