add 'Check the private key and the CSR match'

- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2020-01-20 14:46:38 +01:00
parent cc532f037c
commit 2fbd152875

View File

@ -2702,6 +2702,13 @@ openssl req -text -noout -in ${_fd_csr} )
openssl x509 -noout -modulus -in certificate.crt | openssl md5) | uniq openssl x509 -noout -modulus -in certificate.crt | openssl md5) | uniq
``` ```
###### Check whether the private key and the CSR match
```bash
(openssl rsa -noout -modulus -in private.key | openssl md5 ; \
openssl req -noout -modulus -in request.csr | openssl md5) | uniq
```
___ ___
##### Tool: [secure-delete](https://wiki.archlinux.org/index.php/Securely_wipe_disk) ##### Tool: [secure-delete](https://wiki.archlinux.org/index.php/Securely_wipe_disk)