Are SSL certificates bound to the servers IP address?

SSL certificates are bound to a ‘common name’, which is usually a fully qualified domain name but can be a wildcard name (eg. *.example.com) or even an IP address, but it usually isn’t.

In your case, you are accessing your LDAP server by a hostname and it sounds like your two LDAP servers have different SSL certificates installed. Are you able to view (or download and view) the details of the SSL certificate? Each SSL certificate will have a unique serial numbers and fingerprint which will need to match. I assume the certificate is being rejected as these details don’t match with what’s in your certificate store.

Your solution will be to ensure that both LDAP servers have the same SSL certificate installed.

BTW – you can normally override DNS entries on your workstation by editing a local ‘hosts’ file, but I wouldn’t recommend this.

Leave a Comment