From e8176fe9788c103bd6b2dc8b628b7942939140c1 Mon Sep 17 00:00:00 2001 From: George Tsatsis <17512564+gtsatsis@users.noreply.github.com> Date: Mon, 11 Jan 2021 12:24:50 +0200 Subject: [PATCH] Use `-new` during OpenSSL certificate generation (#11199) As per https://stackoverflow.com/a/3758443/8156177, OpenSSL expects a certificate via STDIN. `-new` will allow a new certificate to be generated instead. --- docs/tls/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tls/README.md b/docs/tls/README.md index 53eb72282..e3c623b77 100644 --- a/docs/tls/README.md +++ b/docs/tls/README.md @@ -150,7 +150,7 @@ DNS.1 = localhost Run `openssl` by specifying the configuration file and enter a passphrase if prompted: ```sh -openssl req -x509 -nodes -days 730 -key private.key -out public.crt -config openssl.conf +openssl req -new -x509 -nodes -days 730 -key private.key -out public.crt -config openssl.conf ``` ### 3.3 Use GnuTLS (for Windows) to Generate a Certificate