diff --git a/OpenSSL.md b/OpenSSL.md index 50f92ce..05f744a 100644 --- a/OpenSSL.md +++ b/OpenSSL.md @@ -27,13 +27,13 @@ openssl req -x509 -newkey rsa:4096 -keyout private_key.key -out certificate.crt ### Generate a new private key and certificate signing request (CSR) ``` -openssl req -out signing_request.csr -new -newkey rsa:2048 -nodes -keyout private_key.key +openssl req -out signing_request.csr -new -newkey rsa:2048 -nodes -keyout private_key.key -sha256 ``` ### Generate a certificate signing request (CSR) for an existing private key ``` -openssl req -out signing_request.csr -key private_key.key -new +openssl req -out signing_request.csr -key private_key.key -new -sha256 ``` ### Pass Subject and SubjectAlternativeName directly: