Skip to main content

SSL certificates

When connecting or binding over SSL, the following error in the logs may indicate an SSL certificate issue:

Failed to bind to server [Server Down]

To identify the cause of this error:

  1. Open the Windows event viewer and navigate to Windows Logs > System.

  2. Confirm that SCHANNEL logging has been enabled. For more information, see Windows documentation on enabling and configuring SCHANNEL logging.

  3. Look for recent Schannel errors. For example, a common error is:

      The certificate received from the remote server was issued by an 
      untrusted certificate authority. Because of this, none of the data 
      contained in the certificate can be validated. The SSL connection 
      request has failed. The attached data contains the server 
      certificate.

    This error indicates the certificate was not loaded as a trusted root certificate.

You can also try disabling certificate validation via the address option sslNoCertValidation. When this option is disabled and you are able to successfully bind, then the certificate is not trusted.

Note

Only use the sslNoCertValidation set to true for troubleshooting purposes as it does not provide strong security.