Steps to get certificate from Internal CA server
Create a text file and save the format of the file as “.inf”. For instance “policy.inf”.
a. We need to submit the inf file in order to generate the CSR through “Certreq” command.The content of the policy file should be in specific format. Attached here the sample policy file for reference.
a.Once the policy file is created, open command prompt as admin and type the below command:
a. Certreq –new
b. For instance,
c. Certreq –new policy.inf request.req
A CSR file will be generated.
Use the following command to submit the CSR to an internal CA to get the certificate:
a. certreq -submit -attrib "CertificateTemplate:"
b. For instance,
c. certreq -submit -attrib "CertificateTemplate:WebServerSSL" request.req certificate.cer
- It will prompt you to select the CA server. Once the CA server is selected, a new certificate will be generated.
Top comments (0)