Skip to content

Instantly share code, notes, and snippets.

@kimjh0
kimjh0 / self-signed-certificate-with-custom-ca.md
Created November 10, 2022 05:38 — 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 genrsa -des3 -out rootCA.key 4096