How to Set Up SMTP SSL
If you setup SMTP Server in Configuration > Server Configuration > Email and have the below error :
Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This means that you have not imported the SMTP certificate into the trusted store or OCM’s Java keystore.
In order for the SMTP server to work, you'd have to import the certificate into the trusted store or OCM’s Java keystore.
If you have followed the instructions above but have been unable to Setup SMTP Server with SSL certificate, please open a Support Case with the OPSWAT team via phone, online chat or form, or feel free to ask the community on our OPSWAT Expert Forum.
Was this page helpful?