I uploaded a project that has some boilerplate scripts/code to establish CA keys and certificate, as well as scripts/code to create and sign subordinate certificates.
I started needing to duplicate this code, so I had to formalize it into a project.
Image may be NSFW.
Clik here to view.

Clik here to view.
