goutils/cmd/tlskeypair/README

18 lines
321 B
Plaintext
Raw Normal View History

2015-11-18 17:36:05 +00:00
tlskeypair
This is a small utility that prints whether a certificate and private
key correspond. Specify the private key file with -k and the
certificate with -c.
Example:
$ tlskeypair -k server.key -c server.pem
Match.
$ echo $?
0
$ tlskeypair -k server.key -c client.pem
No match (public keys don't match).