The Nexus Smart ID clients (Personal) Mobile and Desktop clients refuse HTTP connections. Therefore, Personal Messaging must be set up to listen on an HTTPS port. It is recommended to also run PRIME over HTTPS, even if callbacks from Personal Messaging to PRIME are also allowed over HTTP. The following instruction assumes that both Personal Messaging and PRIME run in Tomcat. To set up HTTPS connections for PRIME and Personal Messaging: - Set up HTTPS ports in the file server.xml in the respective Tomcat installation.
- Make sure that the following URLs have the HTTPS scheme and ports for HTTPS, as described above:
- In Personal Messaging:
callbackUrl : PRIME callback base URL for Personal Messaging.publicUrl : Personal Messaging MS endpoint
- In PRIME:
URL : Personal Messaging command URL for PRIME.
- Configure cacerts with the new CA certificate:
- Copy the file jre\lib\security\cacerts of the JVM and store it somewhere, for example in C:\the\modified\cacerts.
- Import the new CA certificate in the new cacerts file.
Set the cacerts as JVM arguments of each Tomcat, for example, by setting the CATALINA_OPTS environment variable:
Code Block |
---|
title | Example: JVM arguments in CATALINA_OPTS |
---|
| -Djavax.net.ssl.trustStore="C:\the\modified\cacerts" -Djavax.net.ssl.trustStorePassword="changeit" |
|