Skip to main content

Configure Browser To Trust Caddy Internal Tls Certificates

server apps webserver
Table of Contents

Problem
#

The Caddy web server can auto-generate locally trusted internal TLS certificates. These are convenient for a development environment. But like self-signed certificates, your browser will complain that they’re not valid.

Solution
#

To make Google Chrome trust all certificates from the Caddy “authority”:

  • Copy Caddy’s root certificate from the server to your local computer. Mine is located in /usr/local/share/ca-certificates/ and symlinked to /etc/ssl/certs/ with the pattern Caddy_Local_Authority_-_2024_ECC_Root_145490142258935389386401433254531405431.pem.
  • Open Chrome Settings | Security | Manage Certificates.
  • Click on the Authorities tab.
  • Click on the Import button and select the PEM file to upload from your file manager.
  • Select the checkbox to “Trust this certificate for identifying websites”
  • Restart the browser: (chrome://restart).

Related

Installing Oracle 11g Locally On Windows
server apps database
You can install a free copy of the Oracle 11g database for development purposes.
Moving Dokuwiki To A New Server
server apps wiki
A big advantage of a no-SQL wiki like Dokuwiki is that you can easily move it.
Relay Mail With Postfix and Stunnel
server apps mail sysadmin
Let’s say you’ve just installed your own virtual server running Postfix.