Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Crowd - Mail config error - "unable to find valid certification path to requested target"

I'm trying to configure Crowd for outbound mail (AWS SES, which is available through ports 25, 465 or 587).

I configured SMTP with login credentials (via Crowd console).

I verified connectivity and authentication at the command line, via "openssl s_client -crlf -quiet -starttls smtp -connect".

I cannot send mail. Here are the errors in Crowd when I try ...

With port 587 configured:
Unrecognized SSL message, plaintext connection?

With port 465 configured:
unable to find valid certification path to requested target

After reading up online I tried importing the certificate via "keytool -import", which I verified via "openssl x509 -fingerprint" and "keytool -list -keystore". It all looks good however I'm still getting the unable to find valid certificate file error.

I read up on the following (but have NOT tried it yet):
Crowd is version: 2.6.5 (Build:#607 - 14-08-2013)
I'm not sure if I'm on the right path, or misssing something. Can somebody help point me in the right direction? Is there any more information I need to provide?

In an effort to make sure this isn't a configuration issue or connectivity issue here are some further tests...

Port 25 (Use SSL NOT selected):

Could not send email to Reason:220 Ready to start TLS

Port 25 (Use SSL selected):

Caused by: javax.mail.MessagingException: Could not connect to SMTP host:, port: 25;
nested exception is: Unrecognized SSL message, plaintext connection?

Port 10 (Use SSL selected):


Caused by: javax.mail.MessagingException: Could not connect to SMTP host:, port: 10;
nested exception is: Connection timed out

2 answers

1 accepted

0 votes
Answer accepted

After looking further into the issue I decided to give "" a shot.

I pointed the trust store to my cacerts folder (that's where I had already imported my mail certificate), restarted crowd and was able to send mail without errors.

There error message was kind of pointing to this as the problem, though it wasn't clear to me that it wasn't already looking at the global cacerts.

0 votes
Caspar Krieger
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 02, 2013

Unfortunately I'm not familiar with Amazon's SES offering; if you don't get any helpful responses here you may want to raise a support request for Crowd so our friendly support team can help you troubleshoot.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events