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.
As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot