| 1 |
readchain |
| 2 |
|
| 3 |
This is a small utility to read a chain of PEM-encoded X.509 certificates |
| 4 |
and print their common names. It was written to quickly see what certificates |
| 5 |
were in a bundle. |
| 6 |
|
| 7 |
It is called with the files containing chains to read passed in as an |
| 8 |
argument. The program has no knobs or widgets to adjust. |
| 9 |
|
| 10 |
Examples: |
| 11 |
|
| 12 |
$ readchain google.com.pem microsoft.com.pem |
| 13 |
[+] google.com.pem: |
| 14 |
*.google.com |
| 15 |
Google Internet Authority G2 |
| 16 |
GeoTrust Global CA |
| 17 |
[+] microsoft.com.pem: |
| 18 |
microsoft.com |
| 19 |
MSIT Machine Auth CA 2 |
| 20 |
Microsoft Internet Authority |