Determines whether a certificate chain is trusted.
Determines whether a certificate has been explicitly accepted by the user. In this case, we can ignore an invalid host name for that certificate.