You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
Ok,
i've figured it out, there was a different certificate for the Port 25 then Port 443. So adding this to the truststore did the trick.
Additionally i needed an receiving connector (the server being exchange), because bamboo didn't seem to support ntlm auth.
Thanks for your feedback!
I'm glad you could find out the solution yourself =]
Thank you for coming back to share it with others.
See you in the next thread!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @max
Some mail servers have their own specifications that may cause this configuration to be tricky.
If you want to double check your configuration prior to follow my suggestion, please make sure that Bamboo is using the exact same Java implementation and trust store. It might be the case that other Java implementation is being used therefore causing this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.