Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The usage of SSL is recommended when making the SMTP connection from Ubisecure CustomerID to a mail server. You must add the certificate of the issuer to the Ubisecure CustomerID trust store.

In Windows the Java certificate storage is by default in the following file:

  • %JAVA_HOME%\lib\security\cacerts

The SMTP server issuer certificate can be added to the Java certificate store using the keytool command. Here are example commands for Windows and Linux installations:

Code Block
languagetext
titleListing 1. Windows
cd %JAVA_HOME%\lib\security
set keytool="%JAVA_HOME%\bin\keytool.exe"
%keytool% -importcert -keystore cacerts -trustcacerts -alias <any alias e.g. mailserverca> -file <insert issuer certificate filename here> -storepass changeit

...

Code Block
languagetext
titleListing 2. Linux
cd $JAVA_HOME/lib/security
keytool -importcert -keystore cacerts -trustcacerts -alias <any alias e.g. mailserverca> -file <insert issuer certificate filename here> -storepass changeit

...