<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ssl on The Gnu Pit</title><link>https://gnupit.net/ssl/</link><description>Recent content in Ssl on The Gnu Pit</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 10 Dec 2017 18:26:24 -0500</lastBuildDate><atom:link href="https://gnupit.net/ssl/index.xml" rel="self" type="application/rss+xml"/><item><title>Nginx, OCSP stapling, booting, systemd and Debian 9</title><link>https://gnupit.net/posts/systemd_nginx_fix/</link><pubDate>Sun, 10 Dec 2017 18:26:24 -0500</pubDate><guid>https://gnupit.net/posts/systemd_nginx_fix/</guid><description>&lt;p&gt;Noticed these lines in journalctl when nginx didn&amp;rsquo;t start after a reboot:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:43:30 mail1 nginx[3485]: nginx: [warn] &amp;#34;ssl_stapling&amp;#34; ignored, host not found in OCSP responder &amp;#34;ocsp.int-x3.letsencrypt.org&amp;#34; in the certificate &amp;#34;/etc/letsencrypt/live/www.example.com/fullchain.pem&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:43:30 mail1 nginx[3485]: nginx: [emerg] bind() to [&amp;lt;IPv6 address&amp;gt;]:80 failed (99: Cannot assign requested address)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:43:30 mail1 nginx[3485]: nginx: configuration file /etc/nginx/nginx.conf test failed
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:43:30 mail1 systemd[1]: nginx.service: Control process exited, code=exited status=1
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:43:30 mail1 systemd[1]: nginx.service: Unit entered failed state.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:43:30 mail1 systemd[1]: nginx.service: Failed with result &amp;#39;exit-code&amp;#39;.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dec 10 17:52:35 mail1 systemd[1]: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Hmmm&amp;hellip;&lt;/p&gt;</description></item><item><title>Let's Encypt SSL Certificates with Exim, Dovecot &amp; NGINX</title><link>https://gnupit.net/posts/exim_dovecot_nginx_letsencrypt/</link><pubDate>Fri, 19 May 2017 14:32:24 -0500</pubDate><guid>https://gnupit.net/posts/exim_dovecot_nginx_letsencrypt/</guid><description>&lt;p&gt;I ran into two issues when setting up Let&amp;rsquo;s Encrypt SSL certificates on two of my servers - permission issues for Exim and the certbot cron job supplied by the package doesn&amp;rsquo;t handle the renew very well for nginx, exim or dovecot.&lt;/p&gt;
&lt;h3 id="resolving-exims-permission-problems"&gt;Resolving Exim&amp;rsquo;s Permission Problems&lt;/h3&gt;
&lt;p&gt;1. Create a new group. I named it sslcerts. Add the exim user to that group. If you&amp;rsquo;re not using Debian, adjust the user in the command below.&lt;/p&gt;</description></item></channel></rss>