I hereby claim:
- I am pieterheijman on github.
- I am pieterheijman (https://keybase.io/pieterheijman) on keybase.
- I have a public key ASD-uFcfYl4DX56JMfPWdBFdxyjHeo52e6kVTh2kz30IxAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
You can verify if a private key file matches a certificate file by comparing their modulus (which you can retrieve using openssl). I've wrapped this in the little script below.
param(
[String]$cert,
[string]$key
)
$certMod = openssl x509 -noout -modulus -in $cert
$keyMod = openssl rsa -noout -modulus -in $key