[ https://issues.apache.org/jira/browse/DIRSTUDIO-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17691689#comment-17691689 ]
Metin Savignano edited comment on DIRSTUDIO-1305 at 2/21/23 4:03 PM: --------------------------------------------------------------------- I would have expected something like {{javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching ldap.mydomain found.}} was (Author: JIRAUSER285019): I would have expected something like javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching ldap.mydomain found. > 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 > Priority: Major > > 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-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org