Fix checkCertificate() working if SSLv3 is disabled