docs: update TLS doc use -keyout instead of -key (#14001)

This commit is contained in:
Yoann Guillerme 2021-12-28 21:51:38 +01:00 committed by GitHub
parent 866a95de38
commit 3e28af1723
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ DNS.1 = localhost
Run `openssl` by specifying the configuration file and enter a passphrase if prompted:
```sh
openssl req -new -x509 -nodes -days 730 -key private.key -out public.crt -config openssl.conf
openssl req -new -x509 -nodes -days 730 -keyout private.key -out public.crt -config openssl.conf
```
### <a name="using-gnu-tls"></a>3.3 Use GnuTLS (for Windows) to Generate a Certificate