...
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
cd $JAVA_HOME/lib/security keytool -importcert -keystore cacerts -trustcacerts -alias <any alias e.g. mailserverca> -file <insert issuer certificate filename here> -storepass changeit |
...