summaryrefslogtreecommitdiff
path: root/live/blog/rss.xml
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-30 00:35:23 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-30 00:35:23 -0600
commit3b60c16016c098412a964d41ea94d97759d48481 (patch)
tree5d040b47f73574c4f1b73f0742970e500302c58a /live/blog/rss.xml
parent9ffc1601b83c808188fb74b3337154ca117889eb (diff)
update website entry, add temp dirs
Diffstat (limited to 'live/blog/rss.xml')
-rw-r--r--live/blog/rss.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/live/blog/rss.xml b/live/blog/rss.xml
index 990cfd8..0dcff76 100644
--- a/live/blog/rss.xml
+++ b/live/blog/rss.xml
@@ -3119,11 +3119,10 @@ systemctl restart nginx
<pre><code class="language-sh">certbot --nginx
</code></pre>
<p>It will ask you for some information, for you to accept some agreements and the names to activate HTTPS for. Also, you will want to &ldquo;say yes&rdquo; to the redirection from HTTP to HTTPS. And that&rsquo;s it, you can now go to your website and see that you have HTTPS active.</p>
-<p>Now, the certificate given by <code>certbot</code> expires every 3 months or something like that, so you want to renew this certificate every once in a while. Using <code>cron</code>, you can do this by running:</p>
-<pre><code class="language-sh">crontab -e
+<p>Now, the certificate given by <code>certbot</code> expires every 3 months or something like that, so you want to renew this certificate every once in a while. I did this before using <code>cron</code> or manually creating a <code>systemd</code> timer and service, but now it&rsquo;s just a matter of enabling the <code>certbot-renew.timer</code>:</p>
+<pre><code class="language-sh">systemctl start certbot-renew.timer
</code></pre>
-<p>And a file will be opened where you need to add a new rule for Certbot, just append the line: <code>1 1 1 * * certbot renew --quiet --agree-tos --deploy-hook "systemctl reload nginx.service"</code> (renew on the first day of every month) and you&rsquo;re good. Alternatively use <code>systemd</code> timers as stated in the <a href="https://wiki.archlinux.org/title/Certbot#Automatic_renewal">Arch Linux Wiki</a>.</p>
-<p>That&rsquo;s it, you now have a website with SSL certificate.</p>]]></content:encoded>
+<p>The <code>deploy-hook</code> is not needed anymore, only for plugins. For more, visit the <a href="https://wiki.archlinux.org/title/Certbot#Automatic_renewal">Arch Linux Wiki</a>.</p>]]></content:encoded>
</item>
<item>
<title>Así es raza, el blog ya tiene timestamps</title>