Skip to content

Instantly share code, notes, and snippets.

@tomaszmduda
tomaszmduda / self-signed-certificate-with-custom-ca.md
Last active March 4, 2020 11:08 — 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 \