You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Metin Savignano (Jira)" <ji...@apache.org> on 2023/02/21 15:49:00 UTC

[jira] [Created] (DIRSTUDIO-1305) SSL connection successful despite non-matching domain

Metin Savignano created DIRSTUDIO-1305:
------------------------------------------

             Summary: SSL connection successful despite non-matching domain
                 Key: DIRSTUDIO-1305
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1305
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 2.0.0-M16
            Reporter: Metin Savignano


I was testing SSL setups of our test LDAPs. For testing purposes, I tried to configure a working SSL setup, and also an SSL setup that should not work because the LDAP domain is does not match the domains of the SSL server certificate. Both domains point to the same server.

This works when I use ldapsearch to connect to the LDAP: I can connect to the correct domain, but when I use the other domain, ldapsearch expectedly fails. I get 

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

However, when I use Apache Directory Studio, I can connect via both domains without problem, although certificate validation is turned on in the settings.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org