mirror of https://github.com/docker/docs.git
Update https.md
This commit is contained in:
parent
c1db5bd9a2
commit
dd75c65162
|
@ -118,7 +118,7 @@ config file:
|
||||||
|
|
||||||
$ echo extendedKeyUsage = clientAuth >> extfile.cnf
|
$ echo extendedKeyUsage = clientAuth >> extfile.cnf
|
||||||
|
|
||||||
Now sign the private key:
|
Now, generate the signed certificate:
|
||||||
|
|
||||||
$ 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