Configure TLS for IAM Console Introduction 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) or a PKCS#12 file with the information of your certificate. 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 SSL, in fact, the configuration file still displays the word SSL. However, SSL protocol is now outdated, and TLSv1.2 is used instead. Preliminary step Load a PKCS#12 (.pfx) file into jks 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), and can use the next command (you have to adapt it to your system): Replace for your file name. keytool -v -importkeystore -srckeystore .pfx -srcstoretype PKCS12 \ -destkeystore /opt/soffid/iam-console-4/conf/.jks \ -deststoretype JKS \ -destkeypass 12345678 -srcstorepass 12345678 -deststorepass 12345678 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. If we have a key and certificate (key, crt), the step to perform the conversion is: openssl pkcs12 -inkey keyfile.key -in certificate.crt -out name_to_export -export keytool -v -importkeystore -srckeystore name_to_export -srcstoretype PKCS12 -destkeystore /opt/soffid/iam-console-4/conf/new_certificate_name.jks -deststoretype JKS -destkeypass password -srcstorepass password -deststorepass password Configuration Your certificate Copy or replace your jks file into to the file. /opt/soffid/iam-console-4/conf/ YOUR-CERT.jks File The configuration file to modify is the following one. /opt/soffid/iam-console-4/conf/server.xml Sample Uncomment or add the following sample, that enables the TLS configuration. The file can contain one or more connectors. This example only allows protocols TLSv1.3. ............ ............ Parameters These are the parameters that you have to configure. Attribute Comment port You can choose the standard 443 or another custom port protocols (inside SSLHostConfig tag)  sslEnabledProtocols (inside Connector tag) You can configure the protocols allowed. For intance,  protocols="TLSv1.3" or sslEnabledProtocols="TLSv1.3" certificateKeystoreFile The source by default starts from /opt/soffid/iam-console-4/ (the installation directory) certificateKeystorePassword The password used to encrypt the jks file certificateKeyAlias The alias to identify your key and certificate To know the key alias , you can run:  keytool -list -keystore yourcert.jks Restart After that, you have to  restart the iam-console services. sudo systemctl restart soffid-iamconsole Logs If you have some configuration error, you can search for more information in the Console log (the current day log): /opt/soffid/iam-console-4/logs/soffid-YYYY-MM-DD.log Further information Additional information can be found at Tomcat website: https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html https://es.wikipedia.org/wiki/TLS