method

verify_certificate

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: Request
verify_certificate(store_context) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/request.rb, line 89
  def self.verify_certificate store_context
    depth  = store_context.error_depth
    error  = store_context.error_string
    number = store_context.error
    cert   = store_context.current_cert

    ui.alert_error "SSL verification error at depth #{depth}: #{error} (#{number})"

    extra_message = verify_certificate_message number, cert

    ui.alert_error extra_message if extra_message
  end
Register or log in to add new notes.