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

Update procedure to configure TLS for LDAP #3499

Merged
merged 4 commits into from
Dec 6, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions guides/common/modules/proc_configuring-tls-for-secure-ldap.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,17 @@ endif::[]
You will remove the certificate when finished.
+
The filename extensions `.cer` and `.crt` are only conventions and can refer to DER binary or PEM ASCII format certificates.
. Add the LDAP certificate to your CA trust list:
.. Install the LDAP certificate in the `/etc/pki/tls/certs/` directory with the correct permissions:
. Add the LDAP server certificate to the system truststore:
.. Import the certificate:
+
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# install /tmp/_example.crt_ /etc/pki/tls/certs/
# cp /tmp/_example.crt_ /etc/pki/tls/source/anchors
----
+
LDAP certificates must be individual files.
.. Create a symbolic link to the LDAP certificate:
+
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# ln -s _example.crt_ /etc/pki/tls/certs/$(openssl \
x509 -noout -hash -in \
/etc/pki/tls/certs/_example.crt_).0
----
.. Restart the `httpd` service:
.. Update the certificate authority truststore:
+
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# systemctl restart httpd
# update-ca-trust extract
----
. Delete the downloaded LDAP certificate from the temporary location on your {ProjectServer}.