apache_ldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
apache_ldap [2019/02/07 17:54] – [Private certificate] adminapache_ldap [2019/02/07 17:55] (current) – [Prefered possiblilty] admin
Line 10: Line 10:
 Apache needs following settings to work with LDAPS authentication. You must edit ''%%/etc/openldap/ldap.conf%%'' file to enable SSL and TLS: Apache needs following settings to work with LDAPS authentication. You must edit ''%%/etc/openldap/ldap.conf%%'' file to enable SSL and TLS:
  
-<code>+<code bash>
 # #
 # LDAP Defaults # LDAP Defaults
Line 38: Line 38:
 You must create a configuration file in ''%%/etc/apache2/conf.d/ldaps.conf%%'' to configure LDAPS depend settings: You must create a configuration file in ''%%/etc/apache2/conf.d/ldaps.conf%%'' to configure LDAPS depend settings:
  
-<code>+<code bash>
 LDAPVerifyServerCert On LDAPVerifyServerCert On
 LDAPTrustedMode SSL LDAPTrustedMode SSL
Line 54: Line 54:
 Just create a configuration file (''%%/etc/apache2/conf.d/ldaps.conf%%'') and put following content into it: Just create a configuration file (''%%/etc/apache2/conf.d/ldaps.conf%%'') and put following content into it:
  
-<code>+<code bash>
 LDAPVerifyServerCert Off LDAPVerifyServerCert Off
 LDAPTrustedMode SSL LDAPTrustedMode SSL
Line 76: Line 76:
 Get the certificate from official certification reseller and put it into /etc/ssl/cert folder. You must hash link the new file for SSL, just use this [[https://intranet.example.com/svn/TrivadisIT/Scripting/trunk/ssl/make-ca-symlinks.sh|make-ca-symlinks.sh script]] to do it: Get the certificate from official certification reseller and put it into /etc/ssl/cert folder. You must hash link the new file for SSL, just use this [[https://intranet.example.com/svn/TrivadisIT/Scripting/trunk/ssl/make-ca-symlinks.sh|make-ca-symlinks.sh script]] to do it:
  
-<code>+<code bash>
 /opt/jobs/make-ca-symlinks.sh --dir /etc/ssl/certs /opt/jobs/make-ca-symlinks.sh --dir /etc/ssl/certs
 </code> </code>
  • apache_ldap.1549558470.txt.gz
  • Last modified: 2019/02/07 17:54
  • by admin