<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bwt.com.de/index.php?action=history&amp;feed=atom&amp;title=Let%27s_Encrypt</id>
	<title>Let&#039;s Encrypt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bwt.com.de/index.php?action=history&amp;feed=atom&amp;title=Let%27s_Encrypt"/>
	<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Let%27s_Encrypt&amp;action=history"/>
	<updated>2026-05-13T20:47:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.bwt.com.de/index.php?title=Let%27s_Encrypt&amp;diff=369&amp;oldid=prev</id>
		<title>BrainwreckedTech: Made TOC float left</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Let%27s_Encrypt&amp;diff=369&amp;oldid=prev"/>
		<updated>2019-12-11T08:12:47Z</updated>

		<summary type="html">&lt;p&gt;Made TOC float left&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;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 04:12, 11 December 2019&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div style=&quot;float:left; margin-right:0.5em; margin-bottom:0.5em;&quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&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=&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;= Prerequisites =&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;= Prerequisites =&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;!-- diff cache key MW_BWT:diff:1.41:old-362:rev-369:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>BrainwreckedTech</name></author>
	</entry>
	<entry>
		<id>https://wiki.bwt.com.de/index.php?title=Let%27s_Encrypt&amp;diff=362&amp;oldid=prev</id>
		<title>BrainwreckedTech: Created page.</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Let%27s_Encrypt&amp;diff=362&amp;oldid=prev"/>
		<updated>2019-12-11T06:55:36Z</updated>

		<summary type="html">&lt;p&gt;Created page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Prerequisites =&lt;br /&gt;
&lt;br /&gt;
; [[:Category:Web Server|Web Server]]&lt;br /&gt;
: For automation of the certificate generation/renewal process.&lt;br /&gt;
&lt;br /&gt;
= Required Packages =&lt;br /&gt;
&lt;br /&gt;
{{bc|sudo pacman -Syu certbot&amp;lt;nowiki&amp;gt;[-nginx|-apache]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= Web Server Configuration =&lt;br /&gt;
&lt;br /&gt;
== NginX Configuration ==&lt;br /&gt;
&lt;br /&gt;
{{bc|1=&lt;br /&gt;
# ACME challenge&lt;br /&gt;
location ^~ /.well-known {&lt;br /&gt;
	allow			all;&lt;br /&gt;
	alias			/var/lib/letsencrypt/$host/.well-known;&lt;br /&gt;
	default_type		&amp;quot;text/plain&amp;quot;;&lt;br /&gt;
	try_files		$uri =404;&lt;br /&gt;
}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Apache Configuration ==&lt;br /&gt;
&lt;br /&gt;
{{bc|1=&lt;br /&gt;
Alias /.well-known/acme-challenge/ &amp;quot;/var/lib/letsencrypt/.well-known/$host/acme-challenge/&amp;quot;&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/lib/letsencrypt/&amp;quot;&amp;gt;&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec&lt;br /&gt;
    Require method GET POST OPTIONS&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Other Web Servers ==&lt;br /&gt;
&lt;br /&gt;
All other web servers will have to use the webroot method&lt;br /&gt;
&lt;br /&gt;
= Generating Certificates =&lt;br /&gt;
&lt;br /&gt;
{{bc|sudo certbot certonly --email &amp;lt;email&amp;gt; &amp;lt;nowiki&amp;gt;[--nginx|--apache|--webroot -w /var/lib/letsencrypt/$host -d $host]&amp;lt;/nowiki&amp;gt; --agree-tos}}&lt;br /&gt;
&lt;br /&gt;
The {{ic|nginx}} and {{ic|apache}} plugins will guide you and help automate the process.&lt;br /&gt;
&lt;br /&gt;
= Renewing Certificates automatically =&lt;br /&gt;
&lt;br /&gt;
These will automatically renew your certificates every 2 months on the first Sunday of the month at 4am.&lt;br /&gt;
&lt;br /&gt;
== Systemd ==&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/systemd/system/certbot.service|2=&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Let&amp;#039;s Encrypt renewal&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=oneshot&lt;br /&gt;
ExecStart=/usr/bin/certbot renew --agree-tos --no-redirect&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/systemd/system/certbot.timer|2=&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Bi-monthly renewal of Let&amp;#039;s Encrypt&amp;#039;s certificates&lt;br /&gt;
&lt;br /&gt;
[Timer]&lt;br /&gt;
OnCalendar=Sun *-1,3,5,7,9,11-1..7 04:00:00&lt;br /&gt;
RandomizedDelaySec=1h&lt;br /&gt;
Persistent=true&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=timers.target&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Crontab ==&lt;br /&gt;
&lt;br /&gt;
{{bc|0 4 1-7 2-12/2 0 /usr/bin/certbot renew --agree-tos --no-redirect}}&lt;/div&gt;</summary>
		<author><name>BrainwreckedTech</name></author>
	</entry>
</feed>