mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update certificates.md
`openssl req -new -x509 -text -key client.key -out client.cert` creates a self-sign certificate but not a certificate request. Signed-off-by: Wei-Ting Kuo <waitingkuo0527@gmail.com>
This commit is contained in:
parent
f208201375
commit
2f69da2a5e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ Our example is set up like this:
|
||||||
## Creating the client certificates
|
## Creating the client certificates
|
||||||
|
|
||||||
You will use OpenSSL's `genrsa` and `req` commands to first generate an RSA
|
You will use OpenSSL's `genrsa` and `req` commands to first generate an RSA
|
||||||
key and then use the key to create the certificate request.
|
key and then use the key to create the certificate.
|
||||||
|
|
||||||
$ openssl genrsa -out client.key 1024
|
$ openssl genrsa -out client.key 1024
|
||||||
$ openssl req -new -x509 -text -key client.key -out client.cert
|
$ openssl req -new -x509 -text -key client.key -out client.cert
|
||||||
|
|
Loading…
Reference in a new issue