Contents

errSSLHostNameMismatch

The host name you connected with does not match any of the host names allowed by the certificate.

Declaration

var errSSLHostNameMismatch: OSStatus { get }

Discussion

This is commonly caused by an incorrect value for the kCFStreamSSLPeerName property within the dictionary associated with the stream’s kCFStreamPropertySSLSettings key.