docs icon indicating copy to clipboard operation
docs copied to clipboard

LDAPS implementation

Open kuhball opened this issue 4 years ago • 5 comments

Thanks for developing this awesome product & implementing LDAP.

I have no experience in java but would it be possible to provide the option to use encrypted LDAP Connections via TLS / SSL from the admin webinterface? Normally the certificate is provided by an ENV Variable (LDAPTLS_CACERT) within the Dockercontainer.

kuhball avatar Feb 02 '21 19:02 kuhball

I agree with kuhball. We need to be able to connect to an LDAP server in another datacenter. At this point, I would need to setup a VPN for security purposes.

bhotrock avatar Aug 19 '21 13:08 bhotrock

Hi, any news about it ? Does LDAPS works in the last release ? I tried to import our CA in cacerts keystore, configure LDAP to use port 636 (our LDAPS port) but it doesn't work actually. I don't know how to configure it if it's already integrated, I would be grateful for a feedback 🙏

wolicape avatar Apr 05 '22 12:04 wolicape

The issue is still opened and nobody worked on it

jendib avatar Apr 08 '22 12:04 jendib

Hey, so I could take a jab at this, since essentially all that's required would be a config.setUseSSL(true) here.

The thing that worries me is that I have no clue how to navigate all the other boilerplate code around creating a new setting, surfacing it in the UI, changing all enums, API calls and tests to support it. Is it okay for this project to just give it a try? Or do you prefer this to be done by someone with basic understanding of the codebase @jendib ?

nemhods avatar Apr 26 '22 18:04 nemhods

@nemhods Definitely go ahead and create a draft PR, I can assist you if you need to understand anything.

jendib avatar Apr 26 '22 19:04 jendib

implemented that feature with the satanic pull request number 666: https://github.com/sismics/docs/pull/666

vmario89 avatar Mar 18 '23 11:03 vmario89

btw i used https://nightlies.apache.org/directory/api/1.0.2/apidocs/org/apache/directory/ldap/client/api/LdapConnectionConfig.html as reference

vmario89 avatar Mar 18 '23 11:03 vmario89

made a new PR at https://github.com/sismics/docs/pull/670

vmario89 avatar Mar 21 '23 20:03 vmario89

Thanks!

jendib avatar Mar 21 '23 20:03 jendib