mirror of https://github.com/docker/docs.git
fixing a command's description
the command does not create a key, but generates a signed cert based on the CSR.
This commit is contained in:
parent
3a2e0c8e18
commit
c1db5bd9a2
|
|
@ -84,7 +84,7 @@ server authentication:
|
||||||
|
|
||||||
$ echo extendedKeyUsage = serverAuth >> extfile.cnf
|
$ echo extendedKeyUsage = serverAuth >> extfile.cnf
|
||||||
|
|
||||||
Now, generate the key:
|
Now, generate the signed certificate:
|
||||||
|
|
||||||
$ openssl x509 -req -days 365 -sha256 -in server.csr -CA ca.pem -CAkey ca-key.pem \
|
$ openssl x509 -req -days 365 -sha256 -in server.csr -CA ca.pem -CAkey ca-key.pem \
|
||||||
-CAcreateserial -out server-cert.pem -extfile extfile.cnf
|
-CAcreateserial -out server-cert.pem -extfile extfile.cnf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue