iOS Secure Mail cannot add account, error "Connection Error. Secure Mail cannot access server"

iOS Secure Mail cannot add account, error "Connection Error. Secure Mail cannot access server"

book

Article ID: CTX226123

calendar_today

Updated On:

Description

iOS Secure Mail cannot add account, error "Connection Error. Secure Mail cannot access server"
User-added image

Resolution

Install the root ca certificate on iOS device.

Problem Cause

The root ca certificate is not trusted on the iOS devices.
 2017-07-20T11:04:08.039+0800 AGTunnelerWARNING (3)-[AGSecureSocket SSLHandshake]SSL Handshake failed, the AG server certificate received is not trusted
 2017-07-20T11:04:08.039+0800 AGTunnelerWARNING (3)-[AGSecureSocket connect:withPort:]connection failed on fd 32, errno = 0. Could not enable ssl.
 2017-07-20T11:04:08.039+0800 AGTunnelerWARNING (3)-[AGSocket AGSocketEvent:withEvent:]AGSocket AGSocketEvent: Connection Failed. Event: 0x21
 2017-07-20T11:04:08.040+0800 Secure Mail.ASIHttpRequestERROR (2)-[ASIHTTPRequest handleNetworkEvent:]Inside handleNetworkEvent::kCFStreamEventErrorOccurred calling handleStreamError
 2017-07-20T11:04:08.040+0800 Secure Mail.ASIHttpRequestERROR (2)-[ASIHTTPRequest handleStreamError]handleStreamError::UnderlyingError.domain=kCFErrorDomainCFNetwork, error.code=120, error.description=Error Domain=kCFErrorDomainCFNetwork Code=120 (null)" UserInfo={_kCFStreamErrorDomainKey=5
 2017-07-20T11:04:08.040+0800 Secure Mail.ASIHttpRequestINFO (4)-[ASIHTTPRequest handleStreamError]self.error is nil in handleStreamError
 2017-07-20T11:04:08.041+0800 Secure Mail.ASIHttpRequestERROR (2)-[ASIHTTPRequest handleStreamError]Received error that was determined to NOT to be an untrusted SSL error with errorDomain=kCFErrorDomainCFNetwork, errorCode=120, description=Error Domain=kCFErrorDomainCFNetwork Code=120 (null)" UserInfo={_kCFStreamErrorDomainKey=5
 2017-07-20T11:04:08.041+0800 Secure Mail.ASIHttpRequestINFO (4)-[ASIHTTPRequest unscheduleReadStream]Removing readStream from run loop 0x1740b77c0