When trying to add an Active Directory target account in Privileged Access Manager (PAM), the following error is observed.
PAM-CM-3432: Cannot connect to a domain controller on the specified domain
The device associated with the target account was configured to use an IP address, but the Active Directory certificate did not have that IP address in its list of Subject Alternative Names. If the Tomcat Log Level is set to Info when the error is produced, the following message will be in the Tomcat logs.
com.cloakware.cspm.server.plugin.targetmanager.WindowsDomainServiceTargetManager loginToActiveDirectoryServer INFO: Failed authentication to Active Directory using account 'ExampleAccount' com.cloakware.cspm.server.plugin.targetmanager.WindowsDomainServiceTargetManager$LDAPSSLException: java.security.cert.CertificateException: No subject alternative names matching IP address #.#.#.# found
There are two options to resolve the issue: