mirror of https://github.com/minio/minio.git
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.
This commit is contained in:
parent
828602d672
commit
e8176fe978
|
@ -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…
Reference in New Issue