PKI Blog

In-Place Upgrade of a Certification Authority from Windows Server 2012 SP2 or 2012 R2 to Windows Server 2016

At the latest with the end of product support by the manufacturer (Microsoft) , the question arises whether to bring the certification authority to an up-to-date operating system by migrating it to another server , or to perform an in-place upgrade. The latter process is described below.

Continue reading "In-Place Upgrade of a Certification Authority from Windows Server 2012 SP2 or 2012 R2 to Windows Server 2016"

In-Place Upgrade of a Certification Authority from Windows Server 2008 SP2 to Windows Server 2008 R2

At the latest with the end of product support by the manufacturer (Microsoft) , the question arises whether to bring the certification authority to an up-to-date operating system by migrating it to another server , or to perform an in-place upgrade. The latter process is described below.

Continue reading "In-Place Upgrade of a Certification Authority from Windows Server 2008 SP2 to Windows Server 2008 R2"

In-Place Upgrade of a Certification Authority from Windows Server 2008 SP2 to Windows Server 2012

At the latest with the end of product support by the manufacturer (Microsoft) , the question arises whether to bring the certification authority to an up-to-date operating system by migrating it to another server , or to perform an in-place upgrade. The latter process is described below.

Continue reading "In-Place Upgrade of a Certification Authority from Windows Server 2008 SP2 to Windows Server 2012"

In-Place Upgrade of a Certification Authority from Windows Server 2008 R2 to Windows Server 2012 R2

At the latest with the end of product support by the manufacturer (Microsoft) , the question arises whether to bring the certification authority to an up-to-date operating system by migrating it to another server , or to perform an in-place upgrade. The latter process is described below.

Continue reading "In-Place Upgrade of a Certification Authority from Windows Server 2008 R2 to Windows Server 2012 R2"

Remote desktop connection no longer possible after in-place upgrade of Windows Server operating system

Assume the following scenario:

  • An in-place upgrade of the certification authority's operating system is performed.
  • After the upgrade, logon via Remote Desktop is no longer possible. The connection fails with the following error message:
An authentication error has occurred.
The function requested is not supported.
Remote Computer: 192.168.1.149
This could be due to CredSSP encryption oracle remediation.
For more information, see https://go.microsoft.com/fwlink/?linkid=866660 

In German:

Authentifizierungsfehler.
Die angeforderte Funktion wird nicht unterstützt.
Remotecomputer: 192.168.1.149
Ursache könnte eine CredSSP Encryption Oracle-Abwehr sein.
Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=866660 

Continue reading "Remote desktop connection no longer possible after in-place upgrade of Windows Server operating system"

Should HTTPS be used for the Network Device Enrollment Service (NDES)?

The Network Device Enrollment Service (NDES) is Microsoft's implementation of the Simple Certificate Enrollment Protocol (SCEP) developed by Cisco in the early 2000s. The first implementation was released with Windows Server 2003.

It may come as a surprise that NDES does not use Secure Socket Layer (SSL) for the HTTP connections in the default setting to this day. This fact is explained and evaluated in more detail below.

Continue reading "Should HTTPS be used for the Network Device Enrollment Service (NDES)?"

Certificate request fails with error message "Error Parsing Request The request subject name is invalid or too long. 0x80094001 (-2146877439 CERTSRV_E_BAD_REQUESTSUBJECT)".

Assume the following scenario

  • A certificate request is sent to a certification authority.
  • The certificate request fails with the following error message:
Error Parsing Request The request subject name is invalid or too long. 0x80094001 (-2146877439 CERTSRV_E_BAD_REQUESTSUBJECT)

Continue reading "Certificate request fails with error message "Error Parsing Request The request subject name is invalid or too long. 0x80094001 (-2146877439 CERTSRV_E_BAD_REQUESTSUBJECT)"."

Requesting certificates via the Network Device Enrollment Service (NDES) fails with error message "The public key does not meet the minimum size required by the specified certificate template. 0x80094811 (-2146875375 CERTSRV_E_KEY_LENGTH)"

Assume the following scenario:

  • A Network Device Enrollment Service (NDES) is implemented in the network.
  • Requesting a certificate fails with the following error message:
"The public key does not meet the minimum size required by the specified certificate template. 0x80094811 (-2146875375 CERTSRV_E_KEY_LENGTH)"

Continue reading "Requesting certificates via the Network Device Enrollment Service (NDES) fails with error message "The public key does not meet the minimum size required by the specified certificate template. 0x80094811 (-2146875375 CERTSRV_E_KEY_LENGTH)""

Requesting certificates via the Network Device Enrollment Service (NDES) fails with error message "The operation timed out 0x80072ee2 (WinHttp: 12002 ERROR_WINHTTP_TIMEOUT)"

Assume the following scenario:

  • A Network Device Enrollment Service (NDES) is implemented in the network.
  • Requesting a certificate fails with the following error message:
The operation timed out 0x80072ee2 (WinHttp: 12002 ERROR_WINHTTP_TIMEOUT)

Continue reading "Requesting certificates via the Network Device Enrollment Service (NDES) fails with error message "The operation timed out 0x80072ee2 (WinHttp: 12002 ERROR_WINHTTP_TIMEOUT)""

Requesting certificates via Network Device Enrollment Service (NDES) fails with HTTP error code 500

Assume the following scenario:

  • A Network Device Enrollment Service (NDES) is implemented in the network.
  • The NDES server uses a domain account for the identity of the SCEP IIS application pool.
  • Requesting certificates via NDES fails with HTTP error code 500 (Internal Server Error).
  • Calling the mscep and mscep_admin pages also fails with HTTP error code 500.
  • Even after an iisreset or restart of the NDES server, no event appears after calling the mscep or mscep_admin page that the NDES service has started or that there were errors.

Continue reading "Requesting certificates via Network Device Enrollment Service (NDES) fails with HTTP error code 500"

The Network Device Enrollment Service (NDES) logs the error message "The Network Device Enrollment Service cannot be started (0x80004005). Unspecified error"

Assume the following scenario:

  • An NDES server is configured on the network.
  • When accessing the NDES request web page (mscep) and the NDES administration web page (certsrv/mscep_admin), HTTP error 500 (Internal Server Error) is reported with error code 0x80004005.
  • Events No. 2 and No. 8 are logged in the application event log:
The Network Device Enrollment Service cannot be started (0x80004005). Unspecified error

Continue reading "The Network Device Enrollment Service (NDES) logs the error message "The Network Device Enrollment Service cannot be started (0x80004005). Unspecified error""

Using Microsoft Network Load Balancing (NLB) for Certificate Enrollment Web Services (CEP, CES)

It is generally a good idea to ensure the availability of the Certificate Enrollment Web Services (Certificate Enrollment Policy Web Service, CEP, and Certificate Enrollment Web Service, CES) at all times.

The following describes how this can be achieved with the Windows feature "Network Load Balancing" (NLB).

Continue reading "Using Microsoft Network Load Balancing (NLB) for Certificate Enrollment Web Services (CEP, CES)"

Certificate enrollment policy check via the Certificate Enrollment Policy Web Service (CEP) fails with error code "WS_E_ENDPOINT_FAULT_RECEIVED"

Assume the following scenario:

  • Users (or computers) should request certificates via the Certificate Enrollment Policy Web Service (CEP).
  • For this purpose, a certificate enrollment policy is configured, which points to a Certificate Enrollment Policy Web Service (CEP).
  • Authentication is done via Kerberos.
  • When checking the address, the connection to the CEP fails and you get the following error message:
An error occurred while obtaining certificate enrollment policy.
 Url: https://cews.adcslabor.de/ADCS%20Labor%20Issuing%20CA%201_CES_Kerberos/service.svc/CES
 Error: A message containing a fault was received from the remote endpoint. 0x803d0013 (-2143485933 WS_E_ENDPOINT_FAULT_RECEIVED)

Continue reading "Certificate enrollment policy check via the Certificate Enrollment Policy Web Service (CEP) fails with error code "WS_E_ENDPOINT_FAULT_RECEIVED""

Overview of audit events generated by the certification authority

The following is an overview of the audit events generated by the certification authority in the Windows Event Viewer.

In contrast to operational events, which are often understood under the term "monitoring", auditing for the certification authority is the configuration of logging of security-relevant events.

Continue reading "Overview of audit events generated by the certification authority"