Sending email via self signed SMTP servers

I try to setup e-mail sending and I use SMTP server with self signed certificate.
Unfortunately when I try to send the message I receive an error:

Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
2 comments
Comment actions Permalink
Hi Toudidel,

Did you try to send emails from the server to check, if it at least works without integration with YouTrack?
Please, provide us with the screenshot of mailbox setting (Settings page).

Thank you.
0
Comment actions Permalink
Of course my e-mail adress is valid and server normally works well. Only one thing should be done in other way is that this server uses self-signed certificate (not trusted by third-party side). Below my SMTP send settings:

Port: 587
Authentication method: normal password
Security: STARTTLS

If you want and it'll be helpful I can create you a temporary mailbox on my server to test the SMTP.
0

Please sign in to leave a comment.