Hello,
I receive the following error when starting ADCS.
The revocation funActive Directory Certificate Services did not start: Could not load or verify the current CA certificate. BPGLTD-PHLCERT02-CA The revocation function was unable to check revocation because the revocation server was offline. 0x80092013
(-2146885613 CRYPT_E_REVOCATION_OFFLINE).
I can start the service after executing "certutil –setreg ca\CRLFlags +CRLF_REVCHECK_IGNORE_OFFLINE", but that is not ideal.
I ran certutil on the SubCA Cert (I have a 2 tier, offline root CA) and the only error is related to "Wrong Issuer".
If I run just certutil, I see remanants of an old CA which was removed (PHLMON03) using the link below.
https://social.technet.microsoft.com/wiki/contents/articles/3527.how-to-decommission-a-windows-enterprise-certification-authority-and-how-to-remove-all-related-objects.aspx
Any help or next steps would be greatly appreciated.
C:\Users\administrator.BPGLTD>certutil -verify -urlfetch c:\Users\administrator.BPGLTD\Desktop\phlcert02.cer
Issuer:
CN=PHLCERT01-CA
Name Hash(sha1): ab8ddcb27b2a64e7a6225b62ba2ea82b673404c1
Name Hash(md5): ebb9c17263d1ef40d50de13975e6a861
Subject:
CN=BPGLTD-PHLCERT02-CA
DC=BPGLTD
DC=com
Name Hash(sha1): 7b76c3b45a13d912a9cea0d1c8d350c398c0e2ee
Name Hash(md5): 3c9e995bf348ba7e480701bf5cc0f3d0
Cert Serial Number: 6946f31d000100000009
dwFlags = CA_VERIFY_FLAGS_CONSOLE_TRACE (0x20000000)
dwFlags = CA_VERIFY_FLAGS_DUMP_CHAIN (0x40000000)
ChainFlags = CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT (0x40000000)
HCCE_LOCAL_MACHINE
CERT_CHAIN_POLICY_BASE
-------- CERT_CHAIN_CONTEXT --------
ChainContext.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
ChainContext.dwRevocationFreshnessTime: 6 Hours, 20 Minutes
SimpleChain.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
SimpleChain.dwRevocationFreshnessTime: 6 Hours, 20 Minutes
CertContext[0][0]: dwInfoStatus=102 dwErrorStatus=0
Issuer: CN=PHLCERT01-CA
NotBefore: 6/30/2015 1:37 PM
NotAfter: 6/30/2025 1:47 PM
Subject: CN=BPGLTD-PHLCERT02-CA, DC=BPGLTD, DC=com
Serial: 6946f31d000100000009
Template: SubCA
Cert: 7da4c19973befb78e1f5eed78e50e849ab81ae25
Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
---------------- Certificate AIA ----------------
Wrong Issuer "Certificate (0)" Time: 0 7c8f12418d8fdfca82e8422692b719c37f2b290f
[0.0] ldap:///CN=PHLCERT01-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Bpgltd,DC=Com?cACertificate?base?objectClass=certificationAuthority
Verified "Certificate (1)" Time: 0 483c8163ac0db3ff24199546a4548e757e992755
[0.1] ldap:///CN=PHLCERT01-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Bpgltd,DC=Com?cACertificate?base?objectClass=certificationAuthority
Verified "Certificate (1)" Time: 0 483c8163ac0db3ff24199546a4548e757e992755
[1.0] http://pki.bpgltd.com/CertEnroll/phlcert01_PHLCERT01-CA(1).crt
---------------- Certificate CDP ----------------
Verified "Base CRL (1b)" Time: 0 862492913b0dac9187385932ec341c354cafa30d
[0.0] ldap:///CN=PHLCERT01-CA(1),CN=phlcert01,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Bpgltd,DC=Com?certificateRevocationList?base?objectClass=cRLDistributionPoint
Verified "Base CRL (1b)" Time: 0 862492913b0dac9187385932ec341c354cafa30d
[1.0] http://pki.bpgltd.com/CertEnroll/PHLCERT01-CA(1).crl
---------------- Base CRL CDP ----------------
No URLs "None" Time: 0 (null)
---------------- Certificate OCSP ----------------
No URLs "None" Time: 0 (null)
--------------------------------
CRL 1b:
Issuer: CN=PHLCERT01-CA
ThisUpdate: 7/31/2019 9:14 AM
NextUpdate: 1/31/2020 9:34 PM
CRL: 862492913b0dac9187385932ec341c354cafa30d
CertContext[0][1]: dwInfoStatus=10c dwErrorStatus=0
Issuer: CN=PHLCERT01-CA
NotBefore: 6/30/2015 12:58 PM
NotAfter: 6/30/2035 1:08 PM
Subject: CN=PHLCERT01-CA
Serial: 3c41ae9e5c1c56964d80c2d1848531ee
Cert: 483c8163ac0db3ff24199546a4548e757e992755
Element.dwInfoStatus = CERT_TRUST_HAS_NAME_MATCH_ISSUER (0x4)
Element.dwInfoStatus = CERT_TRUST_IS_SELF_SIGNED (0x8)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
---------------- Certificate AIA ----------------
No URLs "None" Time: 0 (null)
---------------- Certificate CDP ----------------
No URLs "None" Time: 0 (null)
---------------- Certificate OCSP ----------------
No URLs "None" Time: 0 (null)
--------------------------------
Exclude leaf cert:
Chain: 88452600745c160aeec7f24682f4f58656d2d101
Full chain:
Chain: 2d572c64b2648c5b8d901a4ffd1dea495e03c430
------------------------------------
Verified Issuance Policies: None
Verified Application Policies: All
Cert is a CA certificate
Leaf certificate revocation check passed
CertUtil: -verify command completed successfully.
C:\Users\administrator.BPGLTD>certutil
Entry 0:
Name: "PHLCERT01-CA"
Organizational Unit: ""
Organization: ""
Locality: ""
State: ""
Country/region: ""
Config: "PHLMON03.BPGLTD.com\PHLCERT01-CA"
Exchange Certificate: ""
Signature Certificate: ""
Description: ""
Server: "PHLMON03.BPGLTD.com"
Authority: "PHLCERT01-CA"
Sanitized Name: "PHLCERT01-CA"
Short Name: "PHLCERT01-CA"
Sanitized Short Name: "PHLCERT01-CA"
Flags: "1"
Web Enrollment Servers: ""
Entry 1: (Local)
Name: "BPGLTD-PHLCERT02-CA"
Organizational Unit: ""
Organization: ""
Locality: ""
State: ""
Country/region: ""
Config: "PHLCERT02.BPGLTD.com\BPGLTD-PHLCERT02-CA"
Exchange Certificate: ""
Signature Certificate: "PHLCERT02.BPGLTD.com_BPGLTD-PHLCERT02-CA.crt"
Description: ""
Server: "PHLCERT02.BPGLTD.com"
Authority: "BPGLTD-PHLCERT02-CA"
Sanitized Name: "BPGLTD-PHLCERT02-CA"
Short Name: "BPGLTD-PHLCERT02-CA"
Sanitized Short Name: "BPGLTD-PHLCERT02-CA"
Flags: "13"
Web Enrollment Servers: ""
Entry 2:
Name: "PHLCERT01-CA"
Organizational Unit: ""
Organization: ""
Locality: ""
State: ""
Country/region: ""
Config: "phlcert01\PHLCERT01-CA"
Exchange Certificate: ""
Signature Certificate: "phlcert01_PHLCERT01-CA.crt"
Description: ""
Server: "phlcert01"
Authority: "PHLCERT01-CA"
Sanitized Name: "PHLCERT01-CA"
Short Name: "PHLCERT01-CA"
Sanitized Short Name: "PHLCERT01-CA"
Flags: "20"
Web Enrollment Servers: ""
CertUtil: -dump command completed successfully.