Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

OpenSSL::SSL::SSLSocket#verify_result

ssl.verify_result => Integer

Returns the result of the peer certificates verification. See verify(1) for error values and descriptions.

If no peer certificate was presented X509_V_OK is returned.

See also #using_anon_cipher? #tmp_key also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0