I have created CSR using openssl and I want it to be signed by the Microsoft CA using command line with template as webServer.
Asked
Active
Viewed 2.4k times
4
-
Please provide some more details about your environment and what you have tried so far. Windows versions, generally how you installed Microsoft Cert Services, ect. – edhurtig Jun 16 '16 at 06:16
-
If we have a microsoft CA then we will give the CSR content to get the certificate, using the web as UI. The same I need in command line. – Joshi Jun 16 '16 at 06:30
-
2This is the way to generate. Got it! .. certreq.exe -submit -attrib "CertificateTemplate:WebServer" certifcatesigningrequest.csr – Joshi Jun 16 '16 at 06:34
1 Answers
6
This is the way to generate. Got it! .. On a Microsoft CA server machine issue below command:
"certreq.exe -submit -attrib "CertificateTemplate:WebServer" certifcatesigningrequest.csr "

Joshi
- 573
- 3
- 11
- 24
-
If two templates apply, do you repeat -attrib switch or comma separate after the colon? – rjt Apr 21 '23 at 17:51