mirror of https://github.com/docker/docs.git
Update https.md (#2594)
This commit is contained in:
parent
75d5a853e2
commit
e9b5e56bbe
|
@ -102,7 +102,7 @@ config file:
|
||||||
|
|
||||||
$ echo extendedKeyUsage = clientAuth > extfile.cnf
|
$ echo extendedKeyUsage = clientAuth > extfile.cnf
|
||||||
|
|
||||||
Now sign the public key:
|
Now sign the private key:
|
||||||
|
|
||||||
$ openssl x509 -req -days 365 -sha256 -in client.csr -CA ca.pem -CAkey ca-key.pem \
|
$ openssl x509 -req -days 365 -sha256 -in client.csr -CA ca.pem -CAkey ca-key.pem \
|
||||||
-CAcreateserial -out cert.pem -extfile extfile.cnf
|
-CAcreateserial -out cert.pem -extfile extfile.cnf
|
||||||
|
|
Loading…
Reference in New Issue