6ce4899b80350a7aed586a121ed94962749a7540
compute/ssl-debug.md
| ... | ... | @@ -34,4 +34,10 @@ awk 'BEGIN {i=0} /BEGIN CERT/{i++} { print > "cert" i ".pem"}'` |
| 34 | 34 | `$ openssl pkcs12 -in <file.pfx> -nocerts` |
| 35 | 35 | |
| 36 | 36 | ### Remove password from key PEM |
| 37 | -`$ openssl rsa -in <protected.pem> -out <unprotected.pem>` |
|
| ... | ... | \ No newline at end of file |
| 0 | +`$ openssl rsa -in <protected.pem> -out <unprotected.pem>` |
|
| 1 | + |
|
| 2 | +### Check keys match |
|
| 3 | +Compare: |
|
| 4 | +`openssl x509 -noout -modulus -in <file>.pem |
|
| 5 | +openssl rsa -noout -modulus -in <file>.key |
|
| 6 | +0penssl req -noout -modulus -in <file>.csr` |
|
| ... | ... | \ No newline at end of file |