Sha256: 6f1f64f0eb1054d68ea1a5d3607208686e4dbffb2b0dcfb96853989e62ba9873

Contents?: true

Size: 679 Bytes

Versions: 13

Compression:

Stored size: 679 Bytes

Contents

Get the SSL certificate from a port:

    cert = ssl_cert('example.com',443)
    # => #<Ronin::Support::Crypto::Cert
    #     subject=#<Ronin::Support::Crypto::Cert::Name CN=www.example.org,O=Internet\C2\A0Corporation\C2\A0for\C2\A0Assigned\C2\A0Names\C2\A0and\C2\A0Numbers,L=Los Angeles,ST=California,C=US>,                                           
    #     issuer=#<Ronin::Support::Crypto::Cert::Name CN=DigiCert TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US>,                                 
    #     serial=#<OpenSSL::BN 20823119674429668393338028820299337114>,
    #     not_before=2022-03-14 00:00:00 UTC,        
    #     not_after=2023-03-14 23:59:59 UTC>         

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ronin-2.1.0 data/tips/scripting/ssl_cert.txt
ronin-2.1.0.rc1 data/tips/scripting/ssl_cert.txt
ronin-2.0.5 data/tips/scripting/ssl_cert.txt
ronin-2.0.4 data/tips/scripting/ssl_cert.txt
ronin-2.0.3 data/tips/scripting/ssl_cert.txt
ronin-2.0.2 data/tips/scripting/ssl_cert.txt
ronin-2.0.1 data/tips/scripting/ssl_cert.txt
ronin-2.0.0 data/tips/scripting/ssl_cert.txt
ronin-2.0.0.beta5 data/tips/scripting/ssl_cert.txt
ronin-2.0.0.beta4 data/tips/scripting/ssl_cert.txt
ronin-2.0.0.beta3 data/tips/scripting/ssl_cert.txt
ronin-2.0.0.beta2 data/tips/scripting/ssl_cert.txt
ronin-2.0.0.beta1 data/tips/scripting/ssl_cert.txt