I have Bamboo 4.1 installed on the same server as our JIRA 5.0.4 installation. JIRA has had working email notifications since the beginning, and is set up for SSL connections (HTTPS redirect included). Bamboo is set up for jira.mycompany.com:8085 and is not set up for SSL.
When I configure the SMTP settings in Bamboo, I get the following error:
The mail settings you entered were not valid. Error thrown was: javax.mail.MessagingException: Can't send command to SMTP host; 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
Which confuses me because bamboo isn't using certs?
My email server is Exchange 2010.
Is your Exchange server configured for communication over SSL? If yes, then you'll need to import Exchange's certificate into the cacerts file of the Java installation that Bamboo is using. You can see more details on how check this here.
This is the example of the import command:
keytool -import -keystore ./jre/lib/security/cacerts -file server-certificate.crt
Also, after this, you can test if the connection over SSL is right using SSLPoke, as this example:
java -Djavax.net.ssl.trustStore=/opt/java/jre/lib/security/cacerts SSLPoke smtp.gmail.com 465
Once you have the certificate imported, you can restart your Bamboo instance and attempt to configure the SMTP server again.
I hope this helps.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs