<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.oeser.name/index.php?action=history&amp;feed=atom&amp;title=Let%27s_Encrypt_Certificate_for_QNAP</id>
	<title>Let&#039;s Encrypt Certificate for QNAP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.oeser.name/index.php?action=history&amp;feed=atom&amp;title=Let%27s_Encrypt_Certificate_for_QNAP"/>
	<link rel="alternate" type="text/html" href="https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;action=history"/>
	<updated>2026-12-02T07:43:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=169&amp;oldid=prev</id>
		<title>Udo: /* Schlüssel erstellen */</title>
		<link rel="alternate" type="text/html" href="https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=169&amp;oldid=prev"/>
		<updated>2017-04-17T17:41:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Schlüssel erstellen&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:41, 17 April 2017&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-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;*CSR für Webserver erstellen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;*CSR für Webserver erstellen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;:Mit dem folgenden Befehl wird ein CSR für nur eine Domain erstellt. SAN sind möglich. (siehe Quellen)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&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;:Mit dem folgenden Befehl wird ein CSR für nur eine Domain erstellt. SAN&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s &lt;/ins&gt;sind möglich. (siehe Quellen)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;  openssl req -new -sha256 -key keys/domain.key -subj &amp;quot;/CN=&amp;#039;&amp;#039;nas.yourdomain.de&amp;#039;&amp;#039;&amp;quot; &amp;gt; domain.csr&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;  openssl req -new -sha256 -key keys/domain.key -subj &amp;quot;/CN=&amp;#039;&amp;#039;nas.yourdomain.de&amp;#039;&amp;#039;&amp;quot; &amp;gt; domain.csr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Udo</name></author>
	</entry>
	<entry>
		<id>https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=168&amp;oldid=prev</id>
		<title>Udo: /* Schlüssel erstellen */</title>
		<link rel="alternate" type="text/html" href="https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=168&amp;oldid=prev"/>
		<updated>2017-04-17T17:41:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Schlüssel erstellen&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:41, 17 April 2017&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-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;== Schlüssel erstellen ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;== Schlüssel erstellen ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;*Privaten Schlüssel zur Authentifizierung gegenüber Let&#039;s Encrypt erstellen&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&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;*Privaten Schlüssel zur Authentifizierung gegenüber Let&#039;s Encrypt erstellen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;  openssl genrsa 4096 &amp;gt; keys/account.key&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;  openssl genrsa 4096 &amp;gt; keys/account.key&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Udo</name></author>
	</entry>
	<entry>
		<id>https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=164&amp;oldid=prev</id>
		<title>Udo: /* Skript */</title>
		<link rel="alternate" type="text/html" href="https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=164&amp;oldid=prev"/>
		<updated>2017-04-17T17:38:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Skript&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:38, 17 April 2017&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-l90&quot;&gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;#/etc/init.d/Qthttpd.sh start&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;#/etc/init.d/Qthttpd.sh start&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;== Quellen ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;== Quellen ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Udo</name></author>
	</entry>
	<entry>
		<id>https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=163&amp;oldid=prev</id>
		<title>Udo: Created page with &quot; Category:QNAP Let&#039;s Encrypt stellt kostenlose Zertifikate mit einer Laufzeit von 90 Tagen zur Verfügung. Die Zertifkate werden über das ACME - Protokoll erstellt. &quot;acme...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.oeser.name/index.php?title=Let%27s_Encrypt_Certificate_for_QNAP&amp;diff=163&amp;oldid=prev"/>
		<updated>2017-04-17T17:02:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; &lt;a href=&quot;/index.php?title=Category:QNAP&quot; title=&quot;Category:QNAP&quot;&gt;Category:QNAP&lt;/a&gt; Let&amp;#039;s Encrypt stellt kostenlose Zertifikate mit einer Laufzeit von 90 Tagen zur Verfügung. Die Zertifkate werden über das ACME - Protokoll erstellt. &amp;quot;acme...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
[[Category:QNAP]]&lt;br /&gt;
Let&amp;#039;s Encrypt stellt kostenlose Zertifikate mit einer Laufzeit von 90 Tagen zur Verfügung. Die Zertifkate werden über das ACME - Protokoll erstellt. &amp;quot;acme-tiny.py&amp;quot; ist ein Python Skript zur automatischen Erstellung der Zertifikate. (check: https://letsencrypt.org/how-it-works/)&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
*Python 2.7.3 installieren &lt;br /&gt;
: Python ist im AppCenter und Developer Tools vorhanden und kann einfach aktiviert werden. &lt;br /&gt;
*permanente Verzeichnisse erstellen&lt;br /&gt;
 mkdir /share/MD0_DATA/letsencrypt&lt;br /&gt;
 mkdir /share/MD0_DATA/letsencrypt/keys&lt;br /&gt;
 cd /share/MD0_DATA/letsencrypt&lt;br /&gt;
*Sichern der aktuellen Zertifikate&lt;br /&gt;
 mv /etc/stunnel/stunnel.pem /etc/stunnel/stunnel.pem.orig&lt;br /&gt;
&lt;br /&gt;
== Schlüssel erstellen ==&lt;br /&gt;
*Privaten Schlüssel zur Authentifizierung gegenüber Let&amp;#039;s Encrypt erstellen:&lt;br /&gt;
 openssl genrsa 4096 &amp;gt; keys/account.key&lt;br /&gt;
&lt;br /&gt;
*Privaten Schlüssel für Webserver erstellen&lt;br /&gt;
 openssl genrsa -out keys/domain.key 2048 -sha256&lt;br /&gt;
&lt;br /&gt;
*CSR für Webserver erstellen&lt;br /&gt;
:Mit dem folgenden Befehl wird ein CSR für nur eine Domain erstellt. SAN sind möglich. (siehe Quellen)&lt;br /&gt;
 openssl req -new -sha256 -key keys/domain.key -subj &amp;quot;/CN=&amp;#039;&amp;#039;nas.yourdomain.de&amp;#039;&amp;#039;&amp;quot; &amp;gt; domain.csr&lt;br /&gt;
 &lt;br /&gt;
*Download der Root Zertifikate &lt;br /&gt;
: Das ACME Protokoll verlangt verschlüsselte kommunikation. Damit der Client den Let&amp;#039;s Encrypt Servern vertraut, müssen Root Zertifikate installiert werden. Die Datei im Beispiel enthält die selben Zertifikate, die in den meisten Browsern vorinstalliert sind. &lt;br /&gt;
 wget --no-check-certificate https://curl.haxx.se/ca/cacert.pem&lt;br /&gt;
 mv cacert.pem keys/&lt;br /&gt;
&lt;br /&gt;
== Skripte Installieren ==&lt;br /&gt;
; acme_tiny.py&lt;br /&gt;
* downloaden und in das oben erstellte Verzeichnis kopieren (siehe Quellen)&lt;br /&gt;
 &lt;br /&gt;
; renew_certificate.sh&lt;br /&gt;
* Skript in das oben erstellte Verzeichnis kopieren&lt;br /&gt;
* eventuell CR/LF in LF only umwandeln&lt;br /&gt;
: Das Orignal (siehe Quellen) wurde angepasst. Zur Verifikation der Domain muss ein Webserver auf Port 80 laufen. Das Skript startet einen eigenen Webserver auf Port 9080 und beendet diesen am Ende wieder. Auf der Fritzbox wird eine Freigabe für Port 80 eingerichtet und auf Port 9080 umgeleitet. Damit muss der QNAP Webserver nicht beendet werden und ist auch nicht vom Internet erreichbar.     &lt;br /&gt;
&lt;br /&gt;
; Skript testen&lt;br /&gt;
: Beim ersten Start des Skripts wird ein Account bei Let&amp;#039;s Encrypt erstellt. Das signierte Zertifikat wird im Verzeichnis keys abgelegt.   &lt;br /&gt;
&lt;br /&gt;
; crontab anpassen&lt;br /&gt;
* /etc/config/crontab editieren &lt;br /&gt;
: jeden Mittwoch um 13:13 wird das Skript ausgeführt.&lt;br /&gt;
 13 13 * * 3 cd /share/MD0_DATA/letsencrypt &amp;amp;&amp;amp; ./renew_certificate.sh &amp;gt;&amp;gt; ./renew_certificate.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
* Änderung permanent machen&lt;br /&gt;
 crontab /etc/config/crontab&lt;br /&gt;
 /etc/init.d/crond.sh restart&lt;br /&gt;
&lt;br /&gt;
== Skript ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
set -e&lt;br /&gt;
&lt;br /&gt;
# do nothing if certificate is valid for more than 30 days (30*24*60*60)&lt;br /&gt;
echo &amp;quot;Checking whether to renew certificate on $(date -R)&amp;quot;&lt;br /&gt;
[ -s keys/signed.crt ] &amp;amp;&amp;amp; openssl x509 -noout -in keys/signed.crt -checkend 2592000 &amp;amp;&amp;amp; exit&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Renewing certificate...&amp;quot;&lt;br /&gt;
#we use port 9080 no need to stop Qthttpd &lt;br /&gt;
#echo &amp;quot;Stopping Qthttpd hogging port 80..&amp;quot;&lt;br /&gt;
#/etc/init.d/Qthttpd.sh stop&lt;br /&gt;
&lt;br /&gt;
mkdir -p tmp-webroot/.well-known/acme-challenge&lt;br /&gt;
cd tmp-webroot&lt;br /&gt;
python -m SimpleHTTPServer 9080 &amp;amp;&lt;br /&gt;
pid=$!&lt;br /&gt;
cd ..&lt;br /&gt;
echo &amp;quot;Started python SimpleHTTPServer with pid $pid&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export SSL_CERT_FILE=keys/cacert.pem&lt;br /&gt;
python acme_tiny.py --account-key keys/account.key --csr keys/domain.csr --acme-dir tmp-webroot/.well-known/acme-challenge &amp;gt; keys/signed.crt&lt;br /&gt;
echo &amp;quot;Downloading intermediate certificate...&amp;quot;&lt;br /&gt;
wget --no-verbose -O - https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem &amp;gt; keys/intermediate.pem&lt;br /&gt;
cat keys/signed.crt keys/intermediate.pem &amp;gt; keys/chained.pem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stopping stunnel and setting new stunnel certificates...&amp;quot;&lt;br /&gt;
/etc/init.d/stunnel.sh stop&lt;br /&gt;
cat keys/domain.key keys/chained.pem &amp;gt; /etc/stunnel/stunnel.pem&lt;br /&gt;
cp keys/intermediate.pem /etc/stunnel/uca.pem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done! Service startup and cleanup will follow now...&amp;quot;&lt;br /&gt;
/etc/init.d/stunnel.sh start&lt;br /&gt;
&lt;br /&gt;
kill -9 $pid || true&lt;br /&gt;
rm -rf tmp-webroot&lt;br /&gt;
&lt;br /&gt;
#not needed ?&lt;br /&gt;
#/etc/init.d/Qthttpd.sh start&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quellen ==&lt;br /&gt;
* https://letsencrypt.org&lt;br /&gt;
* https://github.com/diafygi/acme-tiny&lt;br /&gt;
* https://github.com/Yannik/qnap-letsencrypt&lt;/div&gt;</summary>
		<author><name>Udo</name></author>
	</entry>
</feed>