The TLS protection of Soffid IAM Console is applied through the configuration of the Apache TomEE embedded in the installation.
This solution is running under java technology therefore we need a jks file (Java Key Store) with the information of your certificate.
If you can not export your certificate in jks format you will have to search a related command to achieve it.
Once you have the Console installed and your certificate in jks format you can follow this steps to configure it the first time or for an update.
Mind that sometimes, the network encryption algorithm is named as SSL, in fact, the configuration file still displays the word SSL. Furthermore, SSL protocol is now outdatad, and TLSv1.2 is used instead.
This is the file where there the TLS configuration must be placed.
The TLS configuration is inclued in the following XML entity.
These are the attributes that you have to configure.
|port||You can choose the standard 443 or another custom port|
|certificateKeystoreFile||The source by default starts from /opt/soffid/iam-console-2/ (the installation directory)|
|certificateKeystorePassword||The password used to encrypt the jks file|
|certificateKeyAlias||The alias to identify your key and certificate|
Copy or replace your jks file into this directory.
After that, you have to restart the iam-console services.
If you have some configuration error, you can search more information in the Console log (the current day log):
Load a PKCS#12 (.PFX) file
There are many standard ways to store and transfer private keys and certificates, but the most common one is the PKCS#12 format. Its main advantage is that it contains, in a single file, both the private key and the public certificate.
To transform the .PFX file to a java key store (.JKS), ane can use next command (you have to adapt it to your system):
Next, you will be asked for the PFX encryption password. It must be provided to you along the PFX file.
Next, you will be asked (probably twice) for the password to be used to encrypt the .JKS file. This password must be written down in the server.xml file. At the sample SSL configuration file placed at the top of this page, the sample password is 123456.