Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Sign in to a computer joined to the Austin Active Directory where the system has permissions to enroll for a certificate from the requested template
  2. Start an administrative PowerShell session as a local administrator 

    Info

    Complete any remaining instructions in this PowerShell session unless directed otherwise


  3. Modify then run Run the following commands to define the full path to to define the certificate request file:

    Code Block
    $path_cer = Read-Host -Prompt "Provide the path to the certificate file"
    $name_cer = Read-Host -Prompt "Provide the name of the certificate file"
    $cert_file_req = C:\Content\certificate\custom.req


  4. Run the following commands to retrieve the certificate to be imported: 
  5. Run one of the following commands to set the certificate template:

    • For VMware SSL certificates, run the following: 

      Code Block
      $cert_template = "VMwareSSL6.5"


    • For long-duration server certificates, run the following: 

      Code Block
      $cert_template = "Server-10Year"


  6. Run the following commands to define where the signed certificate file will be created using the certificate request file

    Code Block
    $cert_file_cer = (Get-Item $cert_file_req).DirectoryName + "\" + (Get-Item $cert_file_req).BaseName + ".cer"


  7. Run the following commands to submit the request to an Austin certificate authority:

    Code Block
    certreq -submit -attrib ("CertificateTemplate:" + $cert_template) $cert_file_req $cert_file_cer