mirror of https://github.com/docker/docs.git
Merge pull request #10529 from waitingkuo/patch-2
Update certificates.md
This commit is contained in:
commit
c61e97c728
|
@ -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 New Issue