Index: ext/openssl/lib/openssl/ssl-internal.rb =================================================================== --- ext/openssl/lib/openssl/ssl-internal.rb (revision 29022) +++ ext/openssl/lib/openssl/ssl-internal.rb (working copy) @@ -118,7 +118,7 @@ def post_connection_check(hostname) unless OpenSSL::SSL.verify_certificate_identity(peer_cert, hostname) - raise SSLError, "hostname was not match with the server certificate" + raise SSLError, "hostname does not match the server certificate" end return true end