Skip to content

Latest commit

 

History

History
57 lines (29 loc) · 1.72 KB

README.md

File metadata and controls

57 lines (29 loc) · 1.72 KB

Create the DoD Signing CA

Table of Contents / Create the Signing CA


  1. To create the Signing CA private key:

    cd into the folder:

    cd C:\Certificates\DoD\CA\Signing
    

    Create the private key:

    openssl genrsa -aes256 -out private/signing.key 4096
    

    Enter a strong password

  2. Create a signing request for the root CA to sign your signingCA cert:

    openssl req -config signingca.cnf -new -sha256 -key private/signing.key -out csr/signing.csr.pem
    

    Most of the options need to match the Root CA.

    Common Name, however must be different than the Root CA, use DoD Signing CA for Common Name.

  3. Now to create the signingCA public Key, you must sign it using the root CA.

    cd back into the Root CA folder:

    cd ..
    
  4. Create the cert using the CSR:

    openssl ca -config rootca.cnf -extensions v3_intermediate_ca -days 730 -notext -md sha256 -in Signing/csr/signing.csr.pem -out Signing/public/signing.cer
    

    Note: You need to enter the Root CA's password here because the Root CA is signing the Intermediate CA.

    Select y to sign the certificate.

    Select y to commit the certificate into the database.

    This will create the cert, and add the cert to the index, if its the first one it will throw a minor error and then create the index for you.

  5. Verify the CERT:

    cd back into the signing directory:

    cd Signing
    
    openssl x509 -noout -text -in public/signing.cer
    

Next: Create a Client Certificate


Table of Contents / Create the Signing CA