mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-25 09:58:21 +01:00
add 'Check the private key and the CSR match'
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
cc532f037c
commit
2fbd152875
1 changed files with 7 additions and 0 deletions
|
@ -2702,6 +2702,13 @@ openssl req -text -noout -in ${_fd_csr} )
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue