cloudflare / cfssl

CFSSL: Cloudflare's PKI and TLS toolkit

Home Page:https://cfssl.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to programatically create create CA and key/cert using initca

siredwin opened this issue · comments

Hi,
It looks like this is the only viable option for creating SSL certificates in Golang.
I am interested in being a private CA for some IOT devices.
I would like to accomplish this programatically. I have looked at initca and it looks like I can create a CA with that.
How do I generate RSA keys and certificates to be signed without using the commandline?
If you could show me some documentation for this, I would appreciate. Or just point me somewhere.
Thanks.