Skip to content

Instantly share code, notes, and snippets.

@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active December 3, 2025 20:05
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Last update: Nov 2025.

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl ecparam -genkey -name secp384r1 | openssl ec -aes256 -out rootCA.key
@soarez
soarez / ca.md
Last active November 21, 2025 15:58
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.