Skip to content

Instantly share code, notes, and snippets.

@0x2E
0x2E / self-signed-certificate-with-custom-ca.md
Last active April 1, 2022 15:00 — 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