Could not establish trust relationship for the SSL/TLS secure channel

error: "Error saving current VMware Virtual Center snapshot: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
Email It to Me Print this Page
Symptoms All sessions fails with the similar error: "Error saving current VMware Virtual Center snapshot: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
Cause The most common reason of the issue is the Microsoft update - KB2661254.
In summary this update adds more security that blocks certificates with keys less than 1024 bits long. Your vCenter default certificate is less than 1024 bits long so it was being blocked and that was breaking the connection.
Resolution There are multiple ways to resolve this issue:
If one of the options does not work, please try the others
  1. Uninstall the update and then restart the server
  2. Upgrade the certificate in Virtual Center Server to 1024 Bytes
  3. Allow for weaker certificates with the following command:
certutil -setreg chain \minRSAPubKeyBitLength 512

If none of these options work, try performing the following:
- Edit the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 0\CertDllCreateCertificateChainEngine\Config 
- And edit the following DWORDS in decimal: 

EnableWeakSignatureFlags: 2 
minRSAPubKeyBitLength: 512 

 
Was this information helpful?