How to create a minimal PKI with EasyRSA?
This short article will demonstrate how to create a root CA, and how to use that root CA to sign a certificate. We will be using EasyRSA for that, and we don’t want any password anywhere. You can adjust the number of bits for the key if you want a stronger key. Ditto for the certificates durations.
The root CA certificate is available at pki/ca.crt
. The private key
for myservice
is available at pki/private/myservice.key
. The
certificate for myservice
is available at
pki/issued/myservice.crt
.