<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Configure_and_enable_TLS_for_OpenLDAP</id>
	<title>Configure and enable TLS for OpenLDAP - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Configure_and_enable_TLS_for_OpenLDAP"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Configure_and_enable_TLS_for_OpenLDAP&amp;action=history"/>
	<updated>2026-05-15T15:56:51Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Configure_and_enable_TLS_for_OpenLDAP&amp;diff=36668&amp;oldid=prev</id>
		<title>Thomas.will: /* If you are ever in the situation to change the paths of your certificates use the following script */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Configure_and_enable_TLS_for_OpenLDAP&amp;diff=36668&amp;oldid=prev"/>
		<updated>2022-10-03T12:32:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;If you are ever in the situation to change the paths of your certificates use the following script&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 3. Oktober 2022, 12:32 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l69&quot; &gt;Zeile 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=If you are ever in the situation to change the paths of your certificates use the following script=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=If you are ever in the situation to change the paths of your certificates use the following script=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;(it's the same script we used above, simply replace add: with replace&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;(it's the same script we used above, simply replace add: with replace)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;File: /root/add_ssl.ldif&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;File: /root/add_ssl.ldif&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l100&quot; &gt;Zeile 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 100:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;service apache2 restart&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;service apache2 restart&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Quelle=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Quelle=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://web.archive.org/web/20161023210915/http://www.dahlem.uk:80/display/deb/Configure+and+enable+TLS+for+OpenLDAP&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://web.archive.org/web/20161023210915/http://www.dahlem.uk:80/display/deb/Configure+and+enable+TLS+for+OpenLDAP&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Configure_and_enable_TLS_for_OpenLDAP&amp;diff=36667&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „=Shell Command= *useradd letsencrypt *chown openldap:letsencrypt /etc/letsencrypt/ -R *usermod -a -G letsencrypt openldap =Make sure the following parameters a…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Configure_and_enable_TLS_for_OpenLDAP&amp;diff=36667&amp;oldid=prev"/>
		<updated>2022-10-03T12:32:21Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „=Shell Command= *useradd letsencrypt *chown openldap:letsencrypt /etc/letsencrypt/ -R *usermod -a -G letsencrypt openldap =Make sure the following parameters a…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Shell Command=&lt;br /&gt;
*useradd letsencrypt&lt;br /&gt;
*chown openldap:letsencrypt /etc/letsencrypt/ -R&lt;br /&gt;
*usermod -a -G letsencrypt openldap&lt;br /&gt;
=Make sure the following parameters are set:=&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
File: /etc/default/slapd&lt;br /&gt;
SLAPD_SERVICES=&amp;quot;ldap:/// ldapi:/// ldaps:///&amp;quot;&lt;br /&gt;
Create a new file with the following contents:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
File: /root/add_ssl.ldif&lt;br /&gt;
dn: cn=config&lt;br /&gt;
changetype: modify&lt;br /&gt;
add: olcTLSCipherSuite&lt;br /&gt;
olcTLSCipherSuite: NORMAL&lt;br /&gt;
-&lt;br /&gt;
add: olcTLSCRLCheck&lt;br /&gt;
olcTLSCRLCheck: none&lt;br /&gt;
-&lt;br /&gt;
add: olcTLSVerifyClient&lt;br /&gt;
olcTLSVerifyClient: never&lt;br /&gt;
-&lt;br /&gt;
add: olcTLSCACertificateFile&lt;br /&gt;
olcTLSCACertificateFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/fullchain.pem&lt;br /&gt;
-&lt;br /&gt;
add: olcTLSCertificateFile&lt;br /&gt;
olcTLSCertificateFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/cert.pem&lt;br /&gt;
-&lt;br /&gt;
add: olcTLSCertificateKeyFile&lt;br /&gt;
olcTLSCertificateKeyFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/privkey.pem&lt;br /&gt;
-&lt;br /&gt;
add: olcTLSProtocolMin&lt;br /&gt;
olcTLSProtocolMin: 3.3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Apply the changes to your OpenLDAP with the following command=&lt;br /&gt;
=Shell Command=&lt;br /&gt;
*cd ~&lt;br /&gt;
*ldapmodify -Y EXTERNAL -H ldapi:/// -f add_ssl.ldif&lt;br /&gt;
=Finally the following output of this command:=&lt;br /&gt;
&lt;br /&gt;
=Shell Command=&lt;br /&gt;
*cat /etc/ldap/slapd.d/cn\=config.ldif&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.&lt;br /&gt;
# CRC32 XXXXXX&lt;br /&gt;
dn: cn=config&lt;br /&gt;
objectClass: olcGlobal&lt;br /&gt;
cn: config&lt;br /&gt;
olcArgsFile: /var/run/slapd/slapd.args&lt;br /&gt;
olcLogLevel: none&lt;br /&gt;
olcPidFile: /var/run/slapd/slapd.pid&lt;br /&gt;
olcToolThreads: 1&lt;br /&gt;
structuralObjectClass: olcGlobal&lt;br /&gt;
entryUUID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
creatorsName: cn=config&lt;br /&gt;
createTimestamp: XXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
olcTLSCipherSuite: NORMAL&lt;br /&gt;
olcTLSCRLCheck: none&lt;br /&gt;
olcTLSVerifyClient: never&lt;br /&gt;
olcTLSCACertificateFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/fullchain.pem&lt;br /&gt;
olcTLSCertificateFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/cert.pem&lt;br /&gt;
olcTLSCertificateKeyFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/privkey.pem&lt;br /&gt;
olcTLSProtocolMin: 3.3&lt;br /&gt;
entryCSN: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth&lt;br /&gt;
modifyTimestamp: XXXXXXXXXXXXXXXX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=If you are ever in the situation to change the paths of your certificates use the following script=&lt;br /&gt;
;(it's the same script we used above, simply replace add: with replace:)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
File: /root/add_ssl.ldif&lt;br /&gt;
dn: cn=config&lt;br /&gt;
changetype: modify&lt;br /&gt;
replace: olcTLSCipherSuite&lt;br /&gt;
olcTLSCipherSuite: NORMAL&lt;br /&gt;
-&lt;br /&gt;
replace: olcTLSCRLCheck&lt;br /&gt;
olcTLSCRLCheck: none&lt;br /&gt;
-&lt;br /&gt;
replace: olcTLSVerifyClient&lt;br /&gt;
olcTLSVerifyClient: never&lt;br /&gt;
-&lt;br /&gt;
replace: olcTLSCACertificateFile&lt;br /&gt;
olcTLSCACertificateFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/fullchain.pem&lt;br /&gt;
-&lt;br /&gt;
replace: olcTLSCertificateFile&lt;br /&gt;
olcTLSCertificateFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/cert.pem&lt;br /&gt;
-&lt;br /&gt;
replace: olcTLSCertificateKeyFile&lt;br /&gt;
olcTLSCertificateKeyFile: /etc/letsencrypt/live/&amp;lt;your-domain&amp;gt;/privkey.pem&lt;br /&gt;
-&lt;br /&gt;
replace: olcTLSProtocolMin&lt;br /&gt;
olcTLSProtocolMin: 3.3&lt;br /&gt;
Now restart OpenLDAP and Apache2:&lt;br /&gt;
&lt;br /&gt;
Shell Command&lt;br /&gt;
service slapd restart&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Quelle=&lt;br /&gt;
*https://web.archive.org/web/20161023210915/http://www.dahlem.uk:80/display/deb/Configure+and+enable+TLS+for+OpenLDAP&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>