You are here: Administrator's Guide > Securing FME Server > Troubleshooting Active Directory Configurations > Failure to Connect to Active Directory Server (SSL)

Failure to Connect to Active Directory Server (SSL)

Symptom

When connecting to Active Directory with Encryption Method = SSL, the following message appears in the Active Directory page:

An error occurred while communicating with directory server (81)

Alternatively, the following message appears in the log file:

(Active Directory) Exception: "An error occurred while attempting to send the LDAP message to "...": javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target caused by sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target caused by sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

(Active Directory) Successfully connected using directory configuration "<xxx>" and encountered 1 errors.

Cause

SSL certificate verification was enabled, but failed because the Certificate Authority (CA) was not trusted.

Resolution

If available, import the Certificate Authority (CA) certificate.