Crabbit::TLSConfig
TLS settings shared by Stream connections.
Constructors
new(context : OpenSSL::SSL::Context::Client = OpenSSL::SSL::Context::Client.new, verify_hostname : Bool = true)
Creates TLS settings.
Hostname verification should only be disabled in controlled development environments. Configure custom trust roots and client certificates on context before opening the environment.
Instance methods
context
Returns the OpenSSL client context used for certificate verification and optional client certificates.