Skip to content

Instantly share code, notes, and snippets.

@helios2k6
helios2k6 / self-signed-certificate-with-custom-ca.md
Last active March 26, 2024 13:31 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

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 prime256v1 -noout -out <ROOT_CA_KEY>