Benoit Tellier created JAMES-3904:
-------------------------------------
Summary: Support LDAPS
Key: JAMES-3904
URL: https://issues.apache.org/jira/browse/JAMES-3904
Project: James Server
Issue Type: Improvement
Components: UsersStore & UsersRepository
Reporter: Benoit Tellier
Fix For: 3.8.0
https://gitter.im/apache/james-project?at=629449f8e393a3180630a8e2
{code:java}
adam_redacted
@adam_redacted:matrix.org
[m]
May 29 04:12
@chibenwa: Does James not support LDAPS (SSL) with user repository? I'm looking
at the code in ReadOnlyLDAPUsersDAO.java which calls
com.unboundid.ldap.sdk.LDAPConnection; I can't see anything that detects ldaps
for an SSL connection. The documentation at
https://docs.ldap.com/ldap-sdk/docs/javadoc/com/unboundid/ldap/sdk/LDAPConnection.html
states that by default connections will use standard unencrypted network
sockets, but that SSL can be used by specifying a SocketFactory, such as
SSLSocketFactory... I'm not seeing any code that does this. I think this is why
nothing was working for me (?).
Benoit TELLIER
@chibenwa
11:37
Does James not support LDAPS (SSL) with user repository?
Ouch that might be a good catch. We likely should open a ticket for that and
provide a patch, this sounds rather common.
Do you want to take care of it?
{code}
Proposition:
- Allow enabling LDAPS
- Allow bypassing certificate checks
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]