ldaps debian Hinweis
-
Hallo,
könnt Ihr bitte einmal die FAQ ergänzen!
Siehe Debian Part.Problem unter Debian 12:
Wir haben ein AD mit self signed certificate.Error!
LDAP Bind failed (Can't contact LDAP server). Host: Server:636.Lösung:
Wie beschrieben das Zertifikat aus Windows exportieren.
Dann auf dem debian:sudo apt-get -y install ldap-utils opensslUmwandlung Zertifikat auf idoit:
sudo openssl x509 -inform der -outform pem -in /tmp/yourdomain.cer \ -out /usr/local/share/ca-certificates/yourdomain.crtsudo update-ca-certificatesedit /etc/ldap/ldap.conf und füge dein Zertifikat hinzu.
# TLS certificates (needed for GnuTLS) TLS_CACERT /etc/ssl/certs/ca-certificates.crt TLS_CACERT<---->/etc/ssl/certs/yourdomain.pemsudo systemctl restart apache2Test:
sudo openssl s_client -connect yourservername.yourdomain:636Erklärung:
Durch die ZeileTLS_CACERT /etc/ssl/certs/ca-certificates.crtwird das eigene Zertifikat nicht gegriffen.
Vielen Dank.
Grüße mio
-
Hallo,
ich hatte noch eine Zeile vergessen:
# TLS certificates (needed for GnuTLS) TLS_CACERT /etc/ssl/certs/ca-certificates.crt +TLS_CACERT<---->/etc/ssl/certs/yourdomain.pem +TLS_REQCERT neverGrüße mio
-
danke erstmal für die Information!
Bei Fehlern oder Verbesserungen gerne ein GitHub Issue im KB Repository erstellen.
Ich hab daraus mal eins gemacht:
https://github.com/i-doit/knowledge-base/issues/1056Hier ist die Info zwar gut für andere Anwender aber ob diese Info dann bei i-doit ankommt ist was anderes ;>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login