Method: HTTPClient::SSLConfig#verify_callback
- Defined in:
- lib/httpclient/ssl_config.rb
#verify_callback ⇒ Object
A callback handler for custom certificate verification. nil by default. If the handler is set, handler.call is invoked just after general OpenSSL’s verification. handler.call is invoked with 2 arguments, ok and ctx; ok is a result of general OpenSSL’s verification. ctx is a OpenSSL::X509::StoreContext.
54 55 56 |
# File 'lib/httpclient/ssl_config.rb', line 54 def verify_callback @verify_callback end |