pki This is a small library to make building private keys, public keys, signatures and most of the certificate stuff a bit easier. For a cli you can take a look at pkictl