PKI Blog

Logon via smart card using Remote Desktop (RDP) fails with error message "The requested key container does not exist on the smart card."

Assume the following scenario:

  • A user logs on to a Remote Desktop system using the smart card logon function.
  • The user uses a Yubico Yubikey as a smart card. The required middleware is installed on both the local and the remote system.
  • The logon fails with the following error message:
The system could not log you on. The requested key container does not exist on the smart card.

Continue reading "Logon via smart card using Remote Desktop (RDP) fails with error message "The requested key container does not exist on the smart card.""

Overview of Windows events generated by the Certificate Enrollment Policy Web Service (CEP)

The following is an overview of the events generated by the Certificate Enrollment Policy Web Service (CEP) in the Windows Event Viewer.

The Certificate Enrollment Policy Web Service events are not officially documented. The following list was generated using the Windows Event Log Messages (WELM) tool.

Continue reading "Overview of Windows events generated by the Certificate Enrollment Policy Web Service (CEP)"

Overview of Windows events generated by the Certificate Enrollment Web Service (CES)

The following is an overview of the events generated by the Certificate Enrollment Web Service (CES) in the Windows Event Viewer.

The events of the Certificate Enrollment Web Service are not officially documented. The following list was generated using the Windows Event Log Messages (WELM) tool.

Continue reading "Overview of Windows events generated by the Certificate Enrollment Web Service (CES)"

Overview of Windows events generated by the Network Device Enrollment Service (NDES)

The following is an overview of the events generated by the Network Device Enrollment Service (NDES) in the Windows Event Viewer.

The events of the Network Device Enrollment Service are not officially documented. The following list was generated using the Windows Event Log Messages (WELM) tool.

Continue reading "Overview of Windows events generated by the Network Device Enrollment Service (NDES)"

Overview of Windows events generated by the Online Responder (OCSP)

The following is an overview of the events generated by the Online Responder (OCSP) in the Windows Event Viewer.

The events of the Online Responder are not officially documented. The following list was generated using the Windows Event Log Messages (WELM) tool.

Continue reading "Overview of Windows events generated by the Online Responder (OCSP)"

Combining Online Responder (OCSP) with delta CRL and CRL distribution point (CDP) without delta CRL for increased resilience

OCSP responses from a Microsoft OCSP responder are valid for exactly as long as the underlying certificate revocation list (CRL). In some scenarios, you may want to reduce OCSP validity times by using delta CRLs. At the same time, however, no delta CRL should be used for the CRLs entered in the CDP paths in order to enable a fallback to a CRL with a longer validity.

Continue reading "Combining Online Responder (OCSP) with delta CRL and CRL distribution point (CDP) without delta CRL for increased resilience"

Effects of the failure of the Online Responder (OCSP) on the verification of the revocation status of a certificate

The following section examines how the revocation status check behaves if the Online Responder should fail. Depending on the configuration of the certificates issued, the behavior can vary considerably.

Continue reading "Effects of the failure of the Online Responder (OCSP) on the verification of the revocation status of a certificate"

Configuring the Network Device Enrollment Service (NDES) for use with an alias

The following describes the steps required to configure the Network Device Enrollment Service (NDES) for use with an alias.

The term alias means that the service is not called with the name of the server on which it is installed, but with a generic name independent of this name. The use of an alias allows the service to be moved to another system at a later time without having to inform all participants of the new address.

Continue reading "Configuring the Network Device Enrollment Service (NDES) for use with an alias"

Configuring the certification authority to a static port (RPC endpoint)

In the default configuration, the certification authority's certificate request interface is configured to negotiate dynamic ports for the incoming RPC/DCOM connections (for more details, see the article "Firewall rules required for Active Directory Certificate Services ").

Network protocolDestination portProtocol
TCP135RPC Endpoint Mapper
TCP49152-65535RPC dynamic ports

This configuration is not feasible in every enterprise environment. Often there are restrictive firewall rules that do not allow the use of dynamic network ports.

In such a case, the certification authority must be configured to a static port.

Continue reading "Configuring the certification authority to a static port (RPC endpoint)"

Querying the configured RPC endpoints of a certification authority

In the default configuration, the certification authority's certificate request interface is configured to negotiate dynamic ports for the incoming RPC/DCOM connections (for more details, see the article "Firewall rules required for Active Directory Certificate Services ").

However, it is also possible to configure the certification authority to a static port (see article "Configuring the certification authority to a static port (RPC endpoint) ").

The following describes how to check the current configuration of the certification authority.

Continue reading "Querying the configured RPC endpoints of a certification authority"

Classification of AD CS components in the Administrative Tiering Model

If, in addition to Active Directory Certificate Services, the administrative tiering model is also implemented for the Active Directory directory service, the question arises as to how the individual PKI components are to be assigned to this model in order to be able to perform targeted security hardening.

Continue reading "Classification of AD CS components in the Administrative Tiering Model"