Hi,
i have imported my custom certificate with intermediate certificate into my truststore which is set by: -Djavax.net.ssl.trustStore=/var/lib/bamboo/cacerts
and:
/usr/lib/jvm/java-8-oracle/bin/java -Djavax.net.ssl.trustStore=/var/lib/bamboo/cacerts SSLPoke <mailserver.domain> 443
Successfully connected
but i still get this error when the server should be sending mails:
The mail settings you entered were not valid. Error thrown was: javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
any idea?