diff --git a/OpenSSL.md b/OpenSSL.md index cf2c66a..50f92ce 100644 --- a/OpenSSL.md +++ b/OpenSSL.md @@ -36,6 +36,12 @@ openssl req -out signing_request.csr -new -newkey rsa:2048 -nodes -keyout privat openssl req -out signing_request.csr -key private_key.key -new ``` +### Pass Subject and SubjectAlternativeName directly: + +``` +-subj "/C=DE/CN=example.tld" -addext "subjectAltName=DNS:example.tld,DNS:example2.tld,IP:127.0.0.1" +``` + ### Generate a certificate signing request based on an existing certificate ```