cmd/tlskeypair/README
raw| 1 | tlskeypair |
| 2 | |
| 3 | This is a small utility that prints whether a certificate and private |
| 4 | key correspond. Specify the private key file with -k and the |
| 5 | certificate with -c. |
| 6 | |
| 7 | Example: |
| 8 | |
| 9 | $ tlskeypair -k server.key -c server.pem |
| 10 | Match. |
| 11 | $ echo $? |
| 12 | 0 |
| 13 | $ tlskeypair -k server.key -c client.pem |
| 14 | No match (public keys don't match). |
| 15 | |
| 16 | |
| 17 |