Browse Source

add 'Check the private key and the CSR match'

- signed-off-by: trimstray <trimstray@gmail.com>
pull/135/head
trimstray 4 years ago
parent
commit
2fbd152875
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      README.md

+ 7
- 0
README.md 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)


Loading…
Cancel
Save