Details of the event with ID 34 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:34 (0x22)
Event log:Application
Event type:Error
Event text (English):Active Directory Certificate Services did not start: Could not initialize RPC for %1. %2.
Event text (German):Active Directory certificate services were not started: RPC for %1 could not be initialized. %2.


The parameters contained in the event text are filled with the following fields:

  • %1: CACommonName (win:UnicodeString)
  • %2: ErrorCode (win:UnicodeString)

Example events

Active Directory Certificate Services did not start: Could not initialize RPC for ADCS Labor Issuing CA 1. The endpoint is a duplicate. 0x6cc (WIN32: 1740 RPC_S_DUPLICATE_ENDPOINT).


Do you know TameMyCerts? TameMyCerts is an add-on for the Microsoft certification authority (Active Directory Certificate Services). It extends the function of the certification authority and enables the Application of regulationsto realize the secure automation of certificate issuance. TameMyCerts is unique in the Microsoft ecosystem and is available under a free license. It can downloaded via GitHub and can be used free of charge.

The error indicates that the certification authority can no longer bind the RPC port because it has not yet been released again. A typical suspect here is the key storage provider of the hardware security module (HSM).

Especially with Gemalto / SafeNet HSMs there is a known bug in some key storage providers that can trigger this behavior.

When restarting the certification authority service, there must be sufficient time (approx. 1 minute) between termination and start of the service.

See also article "Role configuration for Network Device Enrollment Service (NDES) fails with error message "Failed to enroll RA certificates. The endpoint is a duplicate. 0x800706cc (WIN32: 1740 RPC_S_DUPLICATE_ENDPOINT)".„.

Safety assessment

The security assessment is based on the three dimensions of confidentiality, integrity and availability.

The availability of the certification authority service is no longer given if this event occurs. Therefore, an alert should definitely take place.

Microsoft rating

Microsoft evaluates this event in the Securing Public Key Infrastructure (PKI) Whitepaper with a severity score of "Low".

Related links:

External sources