<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cryptography on wporter.org</title>
    <link>https://wporter.org/categories/cryptography/</link>
    <description>Recent content in Cryptography on wporter.org</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Wed, 09 Jul 2025 21:35:00 +0000</lastBuildDate>
    <atom:link href="https://wporter.org/categories/cryptography/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Setting up Cockpit with Certbot and a private CA with an ACME endpoint</title>
      <link>https://wporter.org/setting-up-cockpit-with-certbot-and-a-private-ca-with-an-acme-endpoint/</link>
      <pubDate>Wed, 09 Jul 2025 21:35:00 +0000</pubDate>
      <guid>https://wporter.org/setting-up-cockpit-with-certbot-and-a-private-ca-with-an-acme-endpoint/</guid>
      <description>&lt;p&gt;This is an excerpt from &lt;a href=&#34;https://wporter.org/building-out-a-signing-certificate-authority-that-supports-acme-with-step-ca-and-an-openssl-root/&#34;&gt;my &lt;code&gt;step-ca&lt;/code&gt; post&lt;/a&gt; that I felt is useful enough to have its own post.&lt;/p&gt;&#xA;&lt;p&gt;I have a server running Cockpit that I&amp;rsquo;d like to use a valid SSL certificate from my CA. I&amp;rsquo;d like it to renew its own certificate. Let&amp;rsquo;s do that.&lt;/p&gt;&#xA;&lt;p&gt;First, be sure to install the root certificate on the system. Since this is a machine running AlmaLinux 10, that looks something like this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building out a signing certificate authority that supports ACME with step-ca and an OpenSSL root</title>
      <link>https://wporter.org/building-out-a-signing-certificate-authority-that-supports-acme-with-step-ca-and-an-openssl-root/</link>
      <pubDate>Sun, 06 Jul 2025 21:35:00 +0000</pubDate>
      <guid>https://wporter.org/building-out-a-signing-certificate-authority-that-supports-acme-with-step-ca-and-an-openssl-root/</guid>
      <description>&lt;p&gt;This is part two of a multi-part series. Today, I&amp;rsquo;ll be configuring an intermediate CA under the root CA I set up &lt;a href=&#34;https://wporter.org/using-openssl-to-generate-a-root-certificate-using-openssl-on-a-linux-server-as-a-root-certificate-authority/&#34;&gt;in this article&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;step-ca&lt;/code&gt; is a modern online CA for automated certificate management. It&amp;rsquo;s got reasonable defaults and is fairly easy to use as an intermediate CA for smaller environments.&lt;/p&gt;&#xA;&lt;p&gt;To learn more about &lt;code&gt;step-ca&lt;/code&gt; itself I recommend a trip over to &lt;a href=&#34;https://smallstep.com/docs/step-ca/&#34;&gt;the step-ca docs at smallstep.com&lt;/a&gt;, but the highlights are the simple nature of the tool and the variety of built-in automated provisioners you can use (like OIDC SSO tokens, ACME challenges, identity documents, and JWK tokens). It&amp;rsquo;s also a decent SSH CA.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using OpenSSL to generate a root certificate (using OpenSSL on a Linux server as a root certificate authority)</title>
      <link>https://wporter.org/using-openssl-to-generate-a-root-certificate-using-openssl-on-a-linux-server-as-a-root-certificate-authority/</link>
      <pubDate>Wed, 02 Jul 2025 21:35:00 +0000</pubDate>
      <guid>https://wporter.org/using-openssl-to-generate-a-root-certificate-using-openssl-on-a-linux-server-as-a-root-certificate-authority/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Certificates are often viewed as &amp;ldquo;black magic&amp;rdquo; - and, as with any cryptographic topic, that&amp;rsquo;s entirely true! Cryptography is great.&lt;/p&gt;&#xA;&lt;p&gt;Thankfully, you don’t need to be a cryptographer to use public key infrastructure (PKI) to establish trust between systems.&lt;/p&gt;&#xA;&lt;p&gt;If you’ve ever created an SSH key pair, you&amp;rsquo;re already familiar with the fundamentals! SSH key pairs and SSL certificates are extremely similar.&lt;/p&gt;&#xA;&lt;p&gt;In a typical PKI setup, certificate authorities (CAs) act as the trust anchors. You can think of a certificate like an SSH public key: you distribute your public key, and devices that have it can verify that you - holding the corresponding private key - are who you say you are.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why doesn&#39;t Windows support modern cryptography?</title>
      <link>https://wporter.org/why-doesnt-windows-support-modern-cryptography/</link>
      <pubDate>Tue, 01 Jul 2025 19:35:00 +0000</pubDate>
      <guid>https://wporter.org/why-doesnt-windows-support-modern-cryptography/</guid>
      <description>&lt;p&gt;Try to feed Windows a certificate with an Ed25519 signature somewhere in the chain and it&amp;rsquo;ll just FALL OVER because &lt;a href=&#34;https://learn.microsoft.com/en-us/windows/win32/seccng/&#34;&gt;CNG&lt;/a&gt; doesn&amp;rsquo;t support Ed25519 AT ALL?&lt;/p&gt;&#xA;&lt;p&gt;This is an operating system that is &amp;lsquo;modern&amp;rsquo; and &amp;lsquo;current&amp;rsquo; and &amp;lsquo;has AI&amp;rsquo;.&lt;/p&gt;&#xA;&lt;p&gt;Here! Watch it fall over when I try to do anything with a cert:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;image.png&#34; alt=&#34;System level error occurred while verifying trust X509 cert signed with Ed25519 Windows 11 24H2 .crt dialog&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;God forbid you want to use something with an Ed25519 signature in the chain:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
