Update Windows_certificate.adoc

This commit is contained in:
Oscar
2016-06-28 17:30:56 -07:00
committed by GitHub
parent 1f5fa49ba3
commit 2325734150
+8 -5
View File
@@ -16,9 +16,10 @@ Steps
----- -----
1. Generate the key: 1. Generate the key:
(--key[=STRING] is needed if the management key value is not the default value)
yubico-piv-tool -s 9a -a generate -o public.pem
(if the management key has been modified, also, supply --key at the end like: yubico-piv-tool -s 9a -a generate -o public.pem --key) yubico-piv-tool -s 9a -a generate -o public.pem --key[=STRING]
2. Request a certificate: 2. Request a certificate:
@@ -31,10 +32,12 @@ Steps
certreq -submit -attrib "CertificateTemplate:User" request.csr cert.crt certreq -submit -attrib "CertificateTemplate:User" request.csr cert.crt
4. Load the certificate in the: 4. Load the certificate in the:
(--key[=STRING] is needed if the management key value is not the default value)
yubico-piv-tool -s 9a -a import-certificate -i cert.crt yubico-piv-tool -s 9a -a import-certificate -i cert.crt --key[=STRING]
5. For it to be useful in windows a chuid must be set as well: 5. For it to be useful in windows a chuid must be set as well:
(only if that wasn't done earlier) (only if that wasn't done earlier)
(--key[=STRING] is needed if the management key value is not the default value)
yubico-piv-tool -a set-chuid yubico-piv-tool -a set-chuid --key[=STRING]