Skip to content

Instantly share code, notes, and snippets.

@adam-p
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save adam-p/674334ef5224462d9a30 to your computer and use it in GitHub Desktop.

Select an option

Save adam-p/674334ef5224462d9a30 to your computer and use it in GitHub Desktop.

Revisions

  1. adam-p revised this gist Mar 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion certinfo.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    openssl s_client -showcerts -connect a299.w7.akamai.net:443 < /dev/null | openssl x509 -noout -text -certopt no_header,no_version,no_serial,no_signame,no_pubkey,no_sigdump,no_aux
    openssl s_client -showcerts -connect example.com:443 < /dev/null | openssl x509 -noout -text -certopt no_header,no_version,no_serial,no_signame,no_pubkey,no_sigdump,no_aux
  2. adam-p created this gist Mar 19, 2015.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Derived from: http://giantdorks.org/alain/shell-script-to-check-ssl-certificate-info-like-expiration-date-and-subject/
    1 change: 1 addition & 0 deletions certinfo.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    openssl s_client -showcerts -connect a299.w7.akamai.net:443 < /dev/null | openssl x509 -noout -text -certopt no_header,no_version,no_serial,no_signame,no_pubkey,no_sigdump,no_aux