How to specify the paths to the keystore and truststore when configuring secure SMTP

Symptom

There is no field to enter the path to the SSL certificates in the 360Suite SMTP configuration screen.

Environment
  • 360Suite Legacy
  • SAP BusinessObjects Business Intelligence 4.1
  • SAP BusinessObjects Business Intelligence 4.2
  • Tomcat 8, 8.5, 9

Resolution

Warning: This is for guidance only.
These steps are highly dependent on how Tomcat has been set up and configured.
Please ensure that the parameters you pass are considered by the actual instance of Tomcat that hosts 360Suite.
If you have customized the setenv.sh or any other Tomcat configuration file, it may lead to issues.
  1. Stop Tomcat.
  2. Open Tomcat Configuration, go to the Java tab and add the following 4 Java options:
    1. -Djavax.net.ssl.keyStore=PATH_TO_YOUR_KEYSTORE
    2. -Djavax.net.ssl.keyStorePassword=YOUR_KEYSTORE_PASSWORD
    3. -Djavax.net.ssl.trustStore=PATH_TO_YOUR_TRUSTSTORE
    4. -Djavax.net.ssl.trustStorePassword=YOUR_TRUSTSTORE_PASSWORD
  3. Click Apply and OK.
  4. Start Tomcat.
As follows:

For Linux:
  1. Stop Tomcat.
  2. Modify file $CATALINA_BASE/bin/setenv.sh, and add the keystore and truststore properties to JAVA_OPTS. Note: If setenv.sh doesn't exist, create it.
    In the file, the variables should be entered one 1 line.

    -Djavax.net.ssl.keyStore=PATH_TO_YOUR_KEYSTORE
    -Djavax.net.ssl.keyStorePassword=YOUR_KEYSTORE_PASSWORD
    -Djavax.net.ssl.trustStore=PATH_TO_YOUR_TRUSTSTORE
    -Djavax.net.ssl.trustStorePassword=YOUR_TRUSTSTORE_PASSWORD

  3. Save and close the file.
  4. Start Tomcat.

Keywords
SSL, secure socket layer, Windows, Linux, Unix, email, e-mail

Product

Product or Product version


  • 360Suite Legacy

Languages

  • English US
  • English UK
  • French

Last updated over 4 years ago