Skip to content

Instantly share code, notes, and snippets.

View clarionprogrammer's full-sized avatar

Lee Jason Curley clarionprogrammer

View GitHub Profile
@clarionprogrammer
clarionprogrammer / ca.md
Created August 5, 2018 04:56 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

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