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.
master
George Tsatsis 4 years ago committed by GitHub
parent 828602d672
commit e8176fe978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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
```
### <a name="using-gnu-tls"></a>3.3 Use GnuTLS (for Windows) to Generate a Certificate

Loading…
Cancel
Save