goutils/cmd/tlskeypair
Kyle Isom f8c64d3be5 bazel: updating build files 2023-05-04 15:11:15 -07:00
..
BUILD.bazel bazel: updating build files 2023-05-04 15:11:15 -07:00
README Add tlskeypair utility. 2015-11-18 09:36:05 -08:00
main.go Mass rewrite imports -> git.wntrmute.dev repo. 2023-05-04 13:58:43 -07:00

README

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).