1
0
Fork 0
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:
Wei-Ting Kuo 2015-02-03 22:42:26 +08:00
parent f208201375
commit 2f69da2a5e

View file

@ -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