Hi there,
I came across a problem that when a user tries to add an external account with SSL IMAP connection in his Preferences - Accounts settings, the connection test fails with some cryptic message. In the mailbox.log I found more hints:
Code:
...
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
...
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: [the remote server cert info]
...
Caused by: java.security.cert.CertificateException: [the remote server cert info]
at com.zimbra.common.net.CustomTrustManager.checkServerTrusted(CustomTrustManager.java:90)
... Looks like the remote server's cert is considered untrusted and the connection fails. The server uses a cert signed by a custom in-house CA. Is there a way to import this CA cert somewhere into Zimbra so it would consider this SSL IMAP connection trusted? Or (less prefered) is there a way to disable certificate validation for these types of connections?
Thank you for any replies. Have a nice day.