Method: HTTPClient::SSLConfig#clear_cert_store
- Defined in:
- lib/httpclient/ssl_config.rb
#clear_cert_store ⇒ Object
Drops current certificate store (OpenSSL::X509::Store) for SSL and create new one for the next session.
Calling this method resets all existing sessions.
208 209 210 211 212 213 214 215 |
# File 'lib/httpclient/ssl_config.rb', line 208 def clear_cert_store @cacerts_loaded = true # avoid lazy override @cert_store = X509::Store.new if defined? JRUBY_VERSION @cert_store._httpclient_cert_store_items.clear end change_notify end |