<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tls on Niall Donaghy</title>
    <link>https://ndonaghy.com/tags/tls/</link>
    <description>Recent content in Tls on Niall Donaghy</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Mon, 06 Apr 2026 23:24:03 +0100</lastBuildDate>
    <atom:link href="https://ndonaghy.com/tags/tls/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OpenBSD httpd TLS Certificate</title>
      <link>https://ndonaghy.com/posts/openbsd-httpd-tls-certificate/</link>
      <pubDate>Mon, 06 Apr 2026 23:24:03 +0100</pubDate>
      <guid>https://ndonaghy.com/posts/openbsd-httpd-tls-certificate/</guid>
      <description>&lt;p&gt;Migrating OpenBSD httpd from HTTP to HTTPS&lt;/p&gt;&#xA;&lt;p&gt;LetsEncrypt offer free TLS certs and have a nice ACME clients to handle auto-renewal. Here&amp;rsquo;s how to implement on OpenBSD, assuming you have your httpd server up and running on port 80 already.&lt;/p&gt;&#xA;&lt;p&gt;For example you might have some basic &lt;code&gt;/etc/httpd&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;types { include &amp;#34;/usr/share/misc/mime.types&amp;#34; }&#xA;&#xA;server &amp;#34;ndonaghy.com&amp;#34; { &#xA;&#x9;listen on * port 80 &#xA;&#x9;root &amp;#34;/htdocs&amp;#34; &#xA;&#x9;location &amp;#34;/stuff/*&amp;#34; { &#xA;&#x9;&#x9;directory { &#xA;&#x9;&#x9;&#x9;auto index&#xA;&#x9;&#x9;} &#xA;&#x9;} &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;step-1-add-acme-challenge-location&#34;&gt;Step 1: Add acme-challenge location&lt;/h2&gt;&#xA;&lt;p&gt;Add this location directive to /etc/httpd.conf:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
