From 2fbd1528754893f7e5dcdff1c290f5242270023e Mon Sep 17 00:00:00 2001 From: trimstray Date: Mon, 20 Jan 2020 14:46:38 +0100 Subject: [PATCH] add 'Check the private key and the CSR match' - signed-off-by: trimstray --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7e12715..53bb474 100644 --- a/README.md +++ b/README.md @@ -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)