tls
Checking a TLS certificate's dates, issuer, and SANs with openssl - 2026-09-05
A handful of openssl x509 flags cover almost everything I need when I just want to inspect a certificate — no need to dump the whole thing with -text unless I'm actually debugging something structural.
Splitting a .pfx into a certificate, key, and CA chain with openssl - 2026-09-05
A .pfx/.p12 file bundles a certificate, its private key, and (usually) the CA chain into one password-protected file — common on Windows and from some CAs. Most Linux tools (nginx, Apache, HAProxy) want those as separate PEM files instead, so it needs splitting apart.
Adding a certificate to a Java keystore/truststore with keytool - 2026-09-05
keytool ships with every OpenJDK. It manages two kinds of store with the same file format: a keystore (a private key and its certificate, for a service presenting TLS) and a truststore (trusted CA certificates, for a JVM connecting to something). The usual job: add your…
A Let's Encrypt certificate for a LAN-only service: Caddy, DNS-01 and deSEC - 2026-10-08
A follow-up to ntfy behind Caddy. Caddy's default way of getting a certificate, the HTTP-01 challenge, needs Let's Encrypt to reach the server on port 80 from the Internet. A homelab service that stays on the LAN can't do that. The DNS-01 challenge proves you control the domain…
A wildcard certificate for a private Kubernetes cluster: cert-manager, DNS-01 and deSEC - 2026-11-01
A follow-up to Let's Encrypt for a LAN-only service with Caddy, which explains the DNS-01 challenge and deSEC's token policies; this entry relies on both. There, Caddy fetched the certificate for one service. Here the service is a Kubernetes cluster on a private address: a…