Setting up Secure IMAP service from JIRA

HaroldJ January 14, 2013

What are the requirements for setting up a secure IMAP connection from JIRA?

I have read the instructions, but am getting a timeout issue from the destination.

- IMAP account has been set up

- using port 993, which has been opened at the destination

- getting the following error when testing:

Unfortunately no connection was possible. Review the errors below and rectify:

•SocketTimeoutException: Read timed out

What could we be doing wrong?

2 answers

1 accepted

0 votes
Answer accepted
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2013

Hello,

Have you imported the SSL certificate from your mail server as per described here? Note that even though this page was wrote for Confluence, it also applies for JIRA.

Hence, could you also double check if your JIRA server is able to reach your SECURE_IMAP server using telnet? The syntax will be something like:

telnet $mail_host 993

Best regards,
Lucas Timm

Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2013

Also, since it's involving an SSL certificate, you may need to confirm that the certificate was properly imported. This is an example on how to test the connect to IMAP server:

tiago@ecrnt-85:~/Downloads$ java -Djavax.net.ssl.trustStore=/opt/jdk1.6.0_35/jre/lib/security/cacerts SSLPoke $mail_host 993
Successfully connected

This is the KB with more instructions to this test.

Cheers

0 votes
HaroldJ January 29, 2013

- made sure that SECURE_IMAP was chosen

- imported certificate from server into JDK cacerts file

- all works now.

thnx

Suggest an answer

Log in or Sign up to answer