Trouble with Subordinate CA - Unable to submit CSR

0

I have a Subordinate CA running on Windows 2016 Server - its been issuing certs until recently where I am now only ever getting the error when trying to submit a CSR:

The request contains no certificate template information.
0x80094901 (-2146875391 CERTSRV_E_NO_CERT_TYPE)
Denied by Policy Module 0x90094801,
The request does not contain a certificate template extension of the CertificateTemplate request attribute

Any help appreciated.

EDIT:

When trying suggested: https://www.ntweekly.com/2016/08/12/ca-error-when-requesting-certificate-from-mmc-using-a-scr-file/

Error:

C:\Users\Administrator>certreq -submit -attrib "CertificateTemplate: Web Server" C:\Users\Administrator\Desktop\pfsense.txt
Active Directory Enrollment Policy
  {8D5864DC-B4A0-44B3-8065-ECF209FA0A18}
  ldap:
RequestId: 38
RequestId: "38"
Certificate not issued (Denied) Denied by Policy Module  0x80094800, The request was for a certificate template that is not supported by the Active Directory Certificate Services policy: Web Server.
 The requested certificate template is not supported by this CA. 0x80094800 (-2146875392 CERTSRV_E_UNSUPPORTED_CERT_TYPE)
Certificate Request Processor: The requested certificate template is not supported by this CA. 0x80094800 (-2146875392 CERTSRV_E_UNSUPPORTED_CERT_TYPE)
Denied by Policy Module  0x80094800, The request was for a certificate template that is not supported by the Active Directory Certificate Services policy: Web Server.

Web Server is a listed Certificate Template under my CA Certificate Templates

certificate
windows-server-2016
csr
asked on Server Fault Oct 2, 2018 by dross • edited Oct 2, 2018 by Jenny D

2 Answers

1

I worked on this for an hour today and just figured out that "Web Server" was not a valid template and I was supposed to use "WebServer". A-r-r-rg!

answered on Server Fault Dec 17, 2019 by sandi
0
C:\Users\Administrator>certreq -submit -attrib "CertificateTemplate:WebServer" C:\Users\Administrator\Desktop\pfsense.csr
Active Directory Enrollment Policy
  {8D5864DC-B4A0-44B3-8065-ECF209FA0A18}
  ldap:
RequestId: 44
RequestId: "44"
Certificate retrieved(Issued) Issued  The certificate validity period will be shorter than the WebServer Certificate Template specifies, because the template validity period is longer than the maximum certificate validity period allowed by the CA.  Consider renewing the CA certificate, reducing the template validity period, or increasing the registry validity period.
answered on Server Fault Oct 2, 2018 by dross • edited Oct 2, 2018 by Michael Hampton

User contributions licensed under CC BY-SA 3.0