Error: The credentials supplied to the package were not recognized

Applies to…

  • DxEnterprise 19.5 and newer for Windows

Summary

When deploying DH2i Windows Server 2019 instances on AWS an error is logged that says “…The credentials supplied to the package were not recognized”.

Information

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.

Resolution

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:

  1. Stop the DxEnterprise services.
    net stop dxcmonitor /y
  2. Remove cluster configuration files.
    del "c:\program files\dh2i\bin\DxCluster*.xml"
  3. List the current DH2i certificate. Make a note of the Key Container value.
    certutil -store dh2i
  4. Delete the invalid certificate with the Key Container value from step #3.
    certutil -delstore dh2i <key_container_value>
  5. Restart the DxEnterprise services.
    net start dxlmonitor