Configuring a Certificate Template for Online Responder (OCSP) Response Signing Certificates
To use the Online Certificate Status Protocol (OCSP), it is necessary to configure an appropriate certificate template.
To use the Online Certificate Status Protocol (OCSP), it is necessary to configure an appropriate certificate template.
As computing power becomes increasingly available, the need to use stronger cryptographic keys also increases. In this course, there is often a need (for example, because the keys have to be protected by a Trusted Platform Module) to use keys based on elliptic curves (ECC) . For their use, it is essential that compatibility with the intended use cases is ensured.
Below is a list of use cases for which I know the compatibility.
Active Directory Certificate Services have existed (albeit under a different name) in their basic form since Windows NT 4.0. The Active Directory-based architecture used today was introduced with Windows 2000 Server. AD CS is very well integrated into the Windows ecosystem and continues to enjoy great popularity worldwide in companies and government agencies of all sizes.
People like to point out the many possibilities offered by Active Directory Certificate Services. Rarely, however, is it pointed out what is not possible with them. In fact, the product has by now reached its limits in many places.
What these are will be explained in more detail below in order to better decide whether AD CS can be the right solution for planned projects.
Continue reading "Limits of Microsoft Active Directory Certificate Services"
Assume the following scenario:
The revocation function was unable to check revocation for the certificate. 0x80092012 (-2146885614 CRYPT_E_NO_REVOCATION_CHECK).Assume the following scenario:
The status of the role services on the target machine cannot be determined. Please retry. The error is The WS-Management service cannot process the request. The service is configured to not accept any remote shell requests.Certificates usually have a "CRL Distribution Points" extension that tells an application where the certificate's associated certificate revocation list (CRL) can be found.
This is like a telephone directory: It contains all the serial numbers of certificates that have been revoked by the certification authority (and are still within their validity period). Every application that checks the revocation status must download and evaluate the entire certificate revocation list.
As the size increases, this procedure becomes increasingly inefficient. As a rule of thumb, 100,000 revoked certificates already correspond to approx. 5 MB file size for the certificate revocation list.
The Online Certificate Status Protocol (OCSP) was developed for this purpose (under the leadership of ValiCert): It is similar to a directory assistance service where applications can request the revocation status for individual certificates, thus eliminating the need to download the entire CRL. OCSP is specified in RFC 6960 .
Continue reading "Basics: Online Responder (Online Certificate Status Protocol, OCSP)"
If a revocation configuration is configured for an Online Responder, there are various setting options that are discussed below.
Assume the following scenario:
Type: Microsoft CRL-based revocation status provider
The revocation provider failed with the current configuration. The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE), 0x80092013Assume the following scenario:
Type: Microsoft CRL-based revocation status provider
The revocation provider failed with the current configuration. The object identifier does not represent a valid object. 0x800710d8 (WIN32: 4312 ERROR_OBJECT_NOT_FOUND), 0x800710d8With Windows Server 2008, together with the NSA Suite B algorithms (also known as Cryptography Next Generation, CNG), key storage providers were introduced as a new, modern interface for generating, storing, and using private keys in the Windows ecosystem.
In most cases, it does not matter which CSP or KSP is used for certificates. However, some applications will not work or will not work correctly if the wrong provider is chosen.
Below is a list of use cases I know of for certificates that only work with a specific cryptographic service provider (CSP) or key storage provider (KSP).
Assume the following scenario:
By default, Windows systems, even if an Online Responder (OCSP) is configured, will fall back to a certificate revocation list (if available) after a certain number of OCSP requests , because this is usually more efficient in such a case. However, this behavior is not always desired.
For example, if one uses smart card logons, one might want to know if logons were performed with certificates issued without authorization . In conjunction with the deterministic good of the Online Responder you can thus create an (almost) seamless audit trail for all smart card logons.
Even if an Online Responder is present in the network and the certification authority has entered its address in the Authority Information Access (AIA) extension of the issued certificates, it is not always guaranteed that the Online Responder is actually used.
One variable here is the "Magic Number", which is present on every Windows operating system. It causes the system to fall back to certificate revocation lists (if present) if requests are made too often via OCSP for the same certification authority.
Continue reading "Configure the "Magic Number" for the Online Responder"
The following is an overview of the audit events generated by the Online Responder in the Windows Event Viewer.
In contrast to operational events, which are often understood under the term "monitoring", auditing for the Online Responder is the configuration of logging of security-relevant events.
Continue reading "Overview of the audit events generated by the Online Responder (OCSP)"
In the default configuration, the Online Responder returns the status "Good" for requested certificates that do not appear on one of the configured certificate revocation lists.
This can be problematic because the Online Responder has no knowledge of the certificates issued by the certification authorities. If an attacker succeeds in issuing a certificate with the private key of the certification authority without its knowledge, the Online Responder would not detect this, and the certificate would also show up as "Good" in the audit log .
Continue reading "Configure deterministic "Good" for the Online Responder (OCSP)"