Merge pull request #66 from square/alok/safari-fix

Shorten sha, fix margin
This commit is contained in:
Alok Menghrajani
2016-06-15 16:56:05 -07:00
committed by GitHub
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -28,12 +28,12 @@ Currently supported formats are DER, PEM, JCEKS and PKCS12. It's a one-stop shop
For example (from stdin):
<img src="https://cdn.rawgit.com/square/certigo/master/examples/example_1_928a0cb8a74703c7b85defb406946e3147920f5f.svg" width="100%" height="100%">
<img src="https://cdn.rawgit.com/square/certigo/master/examples/example_1_f6fc0.svg" width="100%" height="100%">
Or from a file:
<img src="https://cdn.rawgit.com/square/certigo/master/examples/example_2_a0afdd5348ef40e39a35c569e882f2a83328a5a4.svg" width="100%" height="100%">
<img src="https://cdn.rawgit.com/square/certigo/master/examples/example_2_a8c69.svg" width="100%" height="100%">
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:
<img src="https://cdn.rawgit.com/square/certigo/master/examples/example_3_f35442bbd71d7b5bc2107aac2f201c04c6076780.svg" width="100%" height="100%">
<img src="https://cdn.rawgit.com/square/certigo/master/examples/example_3_6f391.svg" width="100%" height="100%">
@@ -4,7 +4,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="42.5em">
<rect x="0" y="0" width="100%" height="100%" fill="#f7f7f7" stroke-width="2" />
<text font-family="monospace" y="10" font-size="1ex">
<text font-family="monospace" y="10" font-size="1em">
<tspan x="10" dy="1.2em">&#36; cat certs/cert.pem | ./certigo dump</tspan>
<tspan x="10" dy="1.2em">** CERTIFICATE 1 **</tspan>
<tspan x="10" dy="1.2em">Serial: 11578389349061131131</tspan>

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

@@ -4,7 +4,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="45.5em">
<rect x="0" y="0" width="100%" height="100%" fill="#f7f7f7" stroke-width="2" />
<text font-family="monospace" y="10" font-size="1ex">
<text font-family="monospace" y="10" font-size="1em">
<tspan x="10" dy="1.2em">&#36; ./certigo dump certs/cert.jks</tspan>
<tspan x="10" dy="1.2em">Enter password:</tspan>
<tspan x="10" dy="1.2em">** CERTIFICATE 1 **</tspan>

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

@@ -4,7 +4,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="86em">
<rect x="0" y="0" width="100%" height="100%" fill="#f7f7f7" stroke-width="2" />
<text font-family="monospace" y="10" font-size="1ex">
<text font-family="monospace" y="10" font-size="1em">
<tspan x="10" dy="1.2em">&#36; openssl s_client -connect squareup.com:443 -showcerts | ./certigo dump</tspan>
<tspan x="10" dy="1.2em">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</tspan>
<tspan x="10" dy="1.2em">verify error:num=20:unable to get local issuer certificate</tspan>

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB