Creates a self-signed certificate with the given number of bits
, the issuer cn
and a comment
to be stored in the certificate.
Creates a self-signed certificate with the given number of bits
, the issuer cn
and a comment
to be stored in the certificate.
Ends the resolution process @return [void]
The X509
certificate chain for this socket’s peer.
Adds the default certificates to the certificate store. These certificates are loaded from the default configuration directory which can usually be determined by:
File.dirname OpenSSL::Config::DEFAULT_CONFIG_FILE
Establish the OpenSSL::SSL::SSLContext
with the configuration parameters provided.