From 7c9c69cccce50d83d8cd77322aa5f5621be21859 Mon Sep 17 00:00:00 2001 From: Alok Menghrajani Date: Wed, 15 Jun 2016 17:15:57 -0700 Subject: [PATCH] s/em/pt/ --- README.md | 6 +-- examples/example_1_b232b.svg | 51 +++++++++++++++++++ examples/example_1_f6fc0.svg | 51 ------------------- examples/example_2_60685.svg | 54 ++++++++++++++++++++ examples/example_2_a8c69.svg | 54 -------------------- examples/example_3_6f391.svg | 96 ------------------------------------ examples/example_3_e6466.svg | 96 ++++++++++++++++++++++++++++++++++++ 7 files changed, 204 insertions(+), 204 deletions(-) create mode 100644 examples/example_1_b232b.svg delete mode 100644 examples/example_1_f6fc0.svg create mode 100644 examples/example_2_60685.svg delete mode 100644 examples/example_2_a8c69.svg delete mode 100644 examples/example_3_6f391.svg create mode 100644 examples/example_3_e6466.svg diff --git a/README.md b/README.md index 18c10e5..caf6048 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,12 @@ Currently supported formats are DER, PEM, JCEKS and PKCS12. It's a one-stop shop For example (from stdin): - + Or from a file: - + You can dump a cert chain from a TLS server. Unlike `openssl x509 -text`, certigo will dump the entire chain, not just the first certificate: - + diff --git a/examples/example_1_b232b.svg b/examples/example_1_b232b.svg new file mode 100644 index 0000000..68301b7 --- /dev/null +++ b/examples/example_1_b232b.svg @@ -0,0 +1,51 @@ + + + + + $ cat certs/cert.pem | ./certigo dump + ** CERTIFICATE 1 ** + Serial: 11578389349061131131 + Not Before: 2016-05-27 21:15:31 +0000 UTC + Not After : 2017-10-09 21:15:31 +0000 UTC + Signature : SHA1-RSA + Subject Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Issuer Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Warnings: +         Certificate is not in X509v3 format (version is 2) +         Using SHA1-RSA, which is an outdated signature algorithm +   + ** CERTIFICATE 2 ** + Serial: 11578389349061131131 + Not Before: 2016-05-27 21:15:31 +0000 UTC + Not After : 2017-10-09 21:15:31 +0000 UTC + Signature : SHA1-RSA + Subject Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Issuer Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Warnings: +         Certificate is not in X509v3 format (version is 2) +         Using SHA1-RSA, which is an outdated signature algorithm + + diff --git a/examples/example_1_f6fc0.svg b/examples/example_1_f6fc0.svg deleted file mode 100644 index 2384639..0000000 --- a/examples/example_1_f6fc0.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - $ cat certs/cert.pem | ./certigo dump - ** CERTIFICATE 1 ** - Serial: 11578389349061131131 - Not Before: 2016-05-27 21:15:31 +0000 UTC - Not After : 2017-10-09 21:15:31 +0000 UTC - Signature : SHA1-RSA - Subject Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Issuer Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Warnings: -         Certificate is not in X509v3 format (version is 2) -         Using SHA1-RSA, which is an outdated signature algorithm -   - ** CERTIFICATE 2 ** - Serial: 11578389349061131131 - Not Before: 2016-05-27 21:15:31 +0000 UTC - Not After : 2017-10-09 21:15:31 +0000 UTC - Signature : SHA1-RSA - Subject Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Issuer Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Warnings: -         Certificate is not in X509v3 format (version is 2) -         Using SHA1-RSA, which is an outdated signature algorithm - - diff --git a/examples/example_2_60685.svg b/examples/example_2_60685.svg new file mode 100644 index 0000000..347ae4d --- /dev/null +++ b/examples/example_2_60685.svg @@ -0,0 +1,54 @@ + + + + + $ ./certigo dump certs/cert.jks + Enter password: + ** CERTIFICATE 1 ** + Alias: second-key + Serial: 11578389349061131131 + Not Before: 2016-05-27 21:15:31 +0000 UTC + Not After : 2017-10-09 21:15:31 +0000 UTC + Signature : SHA1-RSA + Subject Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Issuer Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Warnings: +         Certificate is not in X509v3 format (version is 2) +         Using SHA1-RSA, which is an outdated signature algorithm +   + ** CERTIFICATE 2 ** + Alias: mykey + Serial: 11578389349061131131 + Not Before: 2016-05-27 21:15:31 +0000 UTC + Not After : 2017-10-09 21:15:31 +0000 UTC + Signature : SHA1-RSA + Subject Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Issuer Info: +         CommonName: ApertureScience +         Organization: [Aperture Science] +         OrganizationalUnit: [Research and Development] +         Country: [US] +         Locality: [San Francisco] + Warnings: +         Certificate is not in X509v3 format (version is 2) +         Using SHA1-RSA, which is an outdated signature algorithm + + diff --git a/examples/example_2_a8c69.svg b/examples/example_2_a8c69.svg deleted file mode 100644 index b0be41b..0000000 --- a/examples/example_2_a8c69.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - $ ./certigo dump certs/cert.jks - Enter password: - ** CERTIFICATE 1 ** - Alias: second-key - Serial: 11578389349061131131 - Not Before: 2016-05-27 21:15:31 +0000 UTC - Not After : 2017-10-09 21:15:31 +0000 UTC - Signature : SHA1-RSA - Subject Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Issuer Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Warnings: -         Certificate is not in X509v3 format (version is 2) -         Using SHA1-RSA, which is an outdated signature algorithm -   - ** CERTIFICATE 2 ** - Alias: mykey - Serial: 11578389349061131131 - Not Before: 2016-05-27 21:15:31 +0000 UTC - Not After : 2017-10-09 21:15:31 +0000 UTC - Signature : SHA1-RSA - Subject Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Issuer Info: -         CommonName: ApertureScience -         Organization: [Aperture Science] -         OrganizationalUnit: [Research and Development] -         Country: [US] -         Locality: [San Francisco] - Warnings: -         Certificate is not in X509v3 format (version is 2) -         Using SHA1-RSA, which is an outdated signature algorithm - - diff --git a/examples/example_3_6f391.svg b/examples/example_3_6f391.svg deleted file mode 100644 index ae9c957..0000000 --- a/examples/example_3_6f391.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - $ openssl s_client -connect squareup.com:443 -showcerts | ./certigo dump - depth=2 /C=US/O=Entrust, Inc./OU=See www.entrust.net/legal-terms/OU=(c) 2009 Entrust, Inc. - for authorized use only/CN=Entrust Root Certification Authority - G2 - verify error:num=20:unable to get local issuer certificate - verify return:0 - DONE - ** CERTIFICATE 1 ** - Serial: 1413474646 - Not Before: 2014-12-22 20:28:37 +0000 UTC - Not After : 2016-08-01 00:41:40 +0000 UTC - Signature : SHA256-RSA - Subject Info: -         CommonName: www.squareup.com -         Organization: [Square, Inc.] -         Country: [US] -         Locality: [San Francisco] - Issuer Info: -         CommonName: Entrust Certification Authority - L1M -         Organization: [Entrust, Inc.] -         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2014 Entrust, Inc. - for authorized use only] -         Country: [US] - Subject Key ID   : 6B:06:E5:5C:8A:AA:92:42:28:1F:0F:FF:15:61:A6:28:2B:0A:DE:85 - Authority Key ID : C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A - Basic Constraints: CA:false - Key Usage: -         Key Encipherment -         Digital Signature - Extended Key Usage: -         Server Auth -         Client Auth - Alternate DNS Names: -         www.squareup.com -         squareup.com -         account.squareup.com -         mkt.com -         www.mkt.com -         market.squareup.com -         gosq.com -         www.gosq.com -         gosq.co -         www.gosq.co -   - ** CERTIFICATE 2 ** - Serial: 30215777750102225331854468774 - Not Before: 2014-12-15 15:25:03 +0000 UTC - Not After : 2030-10-15 15:55:03 +0000 UTC - Signature : SHA256-RSA - Subject Info: -         CommonName: Entrust Certification Authority - L1M -         Organization: [Entrust, Inc.] -         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2014 Entrust, Inc. - for authorized use only] -         Country: [US] - Issuer Info: -         CommonName: Entrust Root Certification Authority - G2 -         Organization: [Entrust, Inc.] -         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2009 Entrust, Inc. - for authorized use only] -         Country: [US] - Subject Key ID   : C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A - Authority Key ID : 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB - Basic Constraints: CA:true, pathlen:0 - Key Usage: -         CRL Sign -         Cert Sign - Extended Key Usage: -         Client Auth -         Server Auth -   - ** CERTIFICATE 3 ** - Serial: 1372799044 - Not Before: 2014-09-22 17:14:57 +0000 UTC - Not After : 2024-09-23 01:31:53 +0000 UTC - Signature : SHA256-RSA - Subject Info: -         CommonName: Entrust Root Certification Authority - G2 -         Organization: [Entrust, Inc.] -         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2009 Entrust, Inc. - for authorized use only] -         Country: [US] - Issuer Info: -         CommonName: Entrust Root Certification Authority -         Organization: [Entrust, Inc.] -         OrganizationalUnit: [www.entrust.net/CPS is incorporated by reference (c) 2006 Entrust, Inc.] -         Country: [US] - Subject Key ID   : 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB - Authority Key ID : 68:90:E4:67:A4:A6:53:80:C7:86:66:A4:F1:F7:4B:43:FB:84:BD:6D - Basic Constraints: CA:true, pathlen:1 - Key Usage: -         Cert Sign -         CRL Sign - - diff --git a/examples/example_3_e6466.svg b/examples/example_3_e6466.svg new file mode 100644 index 0000000..6c748f4 --- /dev/null +++ b/examples/example_3_e6466.svg @@ -0,0 +1,96 @@ + + + + + $ openssl s_client -connect squareup.com:443 -showcerts | ./certigo dump + depth=2 /C=US/O=Entrust, Inc./OU=See www.entrust.net/legal-terms/OU=(c) 2009 Entrust, Inc. - for authorized use only/CN=Entrust Root Certification Authority - G2 + verify error:num=20:unable to get local issuer certificate + verify return:0 + DONE + ** CERTIFICATE 1 ** + Serial: 1413474646 + Not Before: 2014-12-22 20:28:37 +0000 UTC + Not After : 2016-08-01 00:41:40 +0000 UTC + Signature : SHA256-RSA + Subject Info: +         CommonName: www.squareup.com +         Organization: [Square, Inc.] +         Country: [US] +         Locality: [San Francisco] + Issuer Info: +         CommonName: Entrust Certification Authority - L1M +         Organization: [Entrust, Inc.] +         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2014 Entrust, Inc. - for authorized use only] +         Country: [US] + Subject Key ID   : 6B:06:E5:5C:8A:AA:92:42:28:1F:0F:FF:15:61:A6:28:2B:0A:DE:85 + Authority Key ID : C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A + Basic Constraints: CA:false + Key Usage: +         Key Encipherment +         Digital Signature + Extended Key Usage: +         Server Auth +         Client Auth + Alternate DNS Names: +         www.squareup.com +         squareup.com +         account.squareup.com +         mkt.com +         www.mkt.com +         market.squareup.com +         gosq.com +         www.gosq.com +         gosq.co +         www.gosq.co +   + ** CERTIFICATE 2 ** + Serial: 30215777750102225331854468774 + Not Before: 2014-12-15 15:25:03 +0000 UTC + Not After : 2030-10-15 15:55:03 +0000 UTC + Signature : SHA256-RSA + Subject Info: +         CommonName: Entrust Certification Authority - L1M +         Organization: [Entrust, Inc.] +         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2014 Entrust, Inc. - for authorized use only] +         Country: [US] + Issuer Info: +         CommonName: Entrust Root Certification Authority - G2 +         Organization: [Entrust, Inc.] +         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2009 Entrust, Inc. - for authorized use only] +         Country: [US] + Subject Key ID   : C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A + Authority Key ID : 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB + Basic Constraints: CA:true, pathlen:0 + Key Usage: +         CRL Sign +         Cert Sign + Extended Key Usage: +         Client Auth +         Server Auth +   + ** CERTIFICATE 3 ** + Serial: 1372799044 + Not Before: 2014-09-22 17:14:57 +0000 UTC + Not After : 2024-09-23 01:31:53 +0000 UTC + Signature : SHA256-RSA + Subject Info: +         CommonName: Entrust Root Certification Authority - G2 +         Organization: [Entrust, Inc.] +         OrganizationalUnit: [See www.entrust.net/legal-terms (c) 2009 Entrust, Inc. - for authorized use only] +         Country: [US] + Issuer Info: +         CommonName: Entrust Root Certification Authority +         Organization: [Entrust, Inc.] +         OrganizationalUnit: [www.entrust.net/CPS is incorporated by reference (c) 2006 Entrust, Inc.] +         Country: [US] + Subject Key ID   : 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB + Authority Key ID : 68:90:E4:67:A4:A6:53:80:C7:86:66:A4:F1:F7:4B:43:FB:84:BD:6D + Basic Constraints: CA:true, pathlen:1 + Key Usage: +         Cert Sign +         CRL Sign + +