I am actually trying to add AD application, but i am getting the below error, i am not able to figure it out where is the error.
I have imported the certificate and added in the keytool as well even after same error.
please let me know if someone faces this type of issue or how is it resolved.
[ InvalidConfigurationException ] [ Possible suggestions ] Ensure that SSL communication is in place with domain. [ Error details ] Failed to connect to - dc=cbq,dc=com,dc=qa : Failed to connect to server:ldap://: - javax.net.ssl.SSLHandshakeException: No name matching cbq.com.qa found
hi @charankoona
This is a hostname mismatch issue, not a certificate import problem.
SSLHandshakeException: No name matching cbq.com.qa found
IIQ is connecting using cbq.com.qa, but the DC SSL certificate CN/SAN does not include that hostname (it’s usually issued to something like dc01.cbq.com.qa). Java enforces strict hostname validation, so the handshake fails even if the cert is trusted.
Fix:
Use the exact DC FQDN that matches the certificate in the AD application (e.g. ldaps://dc01.cbq.com.qa:636), or
Reissue the DC certificate and include cbq.com.qa in the SAN.
Importing the cert into the keystore alone will not resolve this.
@charankoona In your Production server, try telnet to both IQService server and AD DC and see if it is being connected to it or not? This should be the good starting point for your troubleshooting. If connection drops, then something wrong with Port or certifications which you need to coordinate internally with your PKI or Network team.
To debug this further, you can use the non-SSL port 389 instead of the SSL port 636 if If the connection works, then it might be a certificate issue. You can ask the Windows team to regenerate the certificate with the required information and add cbq.com.qa in the alias name. I hope the alias name will work for this scenario.
Hi @charankoona Do you mean that the production and UAT environments use the same AD DC? Don’t you have different domain controllers? If it’s a different DC, make sure you’ve configured the DC at the connector level.
Below, in the screenshot highlighted in yellow, you can mention the domain name: prod, DC=sailpoint, DC=com. For stage, you can replace the DC like this: DC=sailpointstage, DC=com.