mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-19 04:34:40 -05: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
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user