Update https.md

This commit is contained in:
John Gasper 2018-03-01 10:14:50 -08:00 committed by Joao Fernandes
parent c1db5bd9a2
commit dd75c65162
1 changed files with 1 additions and 1 deletions

View File

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