Table of Contents / Create the Signing CA / Create a Client Certificate
-
cd into the SigningCA directory:
cd C:/Certificates/DoD/CA/Signing -
Create a Client private key
openssl genrsa -aes256 -out private/<username>.key 2048Note: Replace
<username>.key.pemwith something likeSmith.John.A.key.pemthat makes a valid windows filename.Enter a secure password
-
Create a certificate signing request.
openssl req -config signingca.cnf -key private/<username>.key -new -sha256 -out csr/<username>.csr.pemEnter the password you created for the private key
-
Keep using the signing CA to sign the client certificate request.
openssl ca -config signingca.cnf -extensions usr_cert -days 365 -notext -md sha256 -in csr/<username>.csr.pem -out public/<username>.cerNote: Be sure to use the Signing CA's password to sign the certificate request.
Select
yto sign the certificateSelect
yto commit the certificate -
Verify the cert:
openssl x509 -noout -text -in public/<username>.cerThe X509v3 Extended Key Usage should say
Client Authentication&Email Protection
Table of Contents / Create the Signing CA / Create a Client Certificate