I'm trying to connect JIRA service management to an inbox using IMAPS. Whenever i try to connect (through project settings -> e-mail requests, using the correct credentials) i get the following error:
Received fatal alert: handshake_failure
If i try to set up an e-mailserver it seems to work. Trying to test the configuration of an e-mailhandler however gives this error:
javax.mail.MessagingException: Received fatal alert: handshake_failure while connecting to host 'blabla' as user 'firstname.lastname@example.org' via protocol 'imaps, caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Usually i would add the ssl certificate to the java keystore and try again. Problem is, we use JIRA service management as SaaS, so i don't think we have access to this java keystore.
Does anyone have any ideas on how to fix this?
I'm afraid you can't connect to a service using a self-signed or in-company CA certificate in Atlassian Cloud.
This can be read on Configuring Jira applications to receive email from a POP or IMAP mail server.
Are you able to replace your mail server's certificate signed by a public CA?
Thanks for checking out this problem and replying. I did overlook this particular potential issue. However, i double checked and i'm not using a self signed certificate/in-company CA certificate, so i guess this shouldn't be a problem :)
Do you have any other ideas?
Well that's odd.
Do you use an on premise / self managed email server? Perhaps something is wrong with its key chain? A missing intermediate certificate for example.
To identify those types of issues I often the openssl command like:
openssl s_client -connect <hostname>:<port>
You can find similar websites on the we doing those checks for you. Example: www.sslshopper.com but I'm not sure whether it supports custom ports.
Or if you are using a SaaS mail solution like Office 365, Gmail, Hotmail, this is out of your league and I would suggest contacting Atlassian Support instead.
The certificate is signed by Sectigo:
$ openssl s_client -connect <hostname>:443
depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
depth=1 C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
depth=0 CN = <hostname>
0 s:CN = <hostname>
i:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
1 s:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
i:C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
Maybe related to https://jira.atlassian.com/browse/JRACLOUD-76343
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events