Error: The credentials supplied to the package were not recognized
- DxEnterprise 19.5 and newer for Windows
When deploying DH2i Windows Server 2019 instances on AWS an error is logged that says “…The credentials supplied to the package were not recognized”.
After deploying a DH2i Windows Server 2019 instance on AWS the following error may be logged to the DH2i Event Logs:
Log Name: DH2i Source: DxCMonitor Date: <date_time> Event ID: 6202 Task Category: None Level: Error Keywords: Classic User: N/A Computer: <host_name> Description: Failed to bind local address <ip_address>: The credentials supplied to the package were not recognized
There will also be an associated SChannel error message in the System Event Logs:
Log Name: System Source: SChannel Date: <date_time> Event ID: 36870 Task Category: None Level: Error Keywords: User: SYSTEM Computer: <host_name> Description: A fatal error occurred when attempting to access the TLS server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001.
The cause of this error is that an existing certificate in the certificate store was re-used on startup of DxEnterprise.
To correct this issue, please run the following commands with elevated permissions:
- Stop the DxEnterprise services.
net stop dxcmonitor /y
- Remove cluster configuration files.
del "c:\program files\dh2i\bin\DxCluster*.xml"
- List the current DH2i certificate. Make a note of the Key Container value.
certutil -store dh2i
- Delete the invalid certificate with the Key Container value from step #3.
certutil -delstore dh2i <key_container_value>
- Restart the DxEnterprise services.
net start dxlmonitor