Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring LDAP secure connection #21483

Open
gstefanoff opened this issue Feb 6, 2025 · 1 comment
Open

Configuring LDAP secure connection #21483

gstefanoff opened this issue Feb 6, 2025 · 1 comment

Comments

@gstefanoff
Copy link

There are missing steps in ldap-auth for configuring secure connection to LDAP server.

I have placed required client certificates to /harbor/common/config/shared/trusted-certificates/ once harbor is restarted, the certificate disappears as mentioned here => #15216
I tried placing certificates in /etc/openldap/certs/ which did not work either.

Where do LDAP certificates need to be placed to secure the LDAP connection?
Please update documentation.

Thanks!

@gstefanoff gstefanoff changed the title Configuring LDAPS is missing steps in the documentation Configuring LDAP secure connection missing steps in documentation Feb 6, 2025
@gstefanoff gstefanoff changed the title Configuring LDAP secure connection missing steps in documentation Configuring LDAP secure connection Feb 6, 2025
@stonezdj
Copy link
Contributor

stonezdj commented Feb 7, 2025

You can inject a custom cert with this config in harbor.yml
https://github.com/goharbor/harbor/blob/main/make/harbor.yml.tmpl#L73

storage_service:
   ca_bundle: <the path to the ldap cert file>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants