Skip to content

Instantly share code, notes, and snippets.

View hugomota's full-sized avatar

Hugo Mota hugomota

View GitHub Profile
@hugomota
hugomota / self-signed-certificate-with-custom-ca.md
Created February 17, 2020 00:51 — 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