Easy-CA is a quick and easy CA handler for x509 certificates.
It's meant to be a drop in replacement of easy-rsa
with a lot of exciting features along the way!
Or through flags:
password=blih ./easy-ca -p ./pki -e password export --name ca
Usage:
easy-ca [flags]
easy-ca [command]
Available Commands:
create
create-ca
crl
export
help Help about any command
init
revoke
Flags:
-e, --env-password string Environment variable for password
-h, --help help for easy-ca
-p, --path string Path to the easy-ca directory database
Use "easy-ca [command] --help" for more information about a command.
Not everything is implemented but the default feature set is!!
- Raw format using protobuf for compatibility between clients
Paranoid encryption by default to store private keys- One database file for ease of deployments
CLI for admin bulk tasksUnix arguments flags for automated tasks- Choice between ecdsa p256 and rsa
- Export using multiple encoding: PEM, DER
- Export using multiple format: pkcs12, pkcs8, x509
Support arithmetic operation for validity periods
CRL revocation
- Use
scrypt
with1<<20
rounds - 16 bits salt from go's
crypto/rand
AES
inGCM
mode for authenticated encryption- 256 bits
AES
key - 12 bits nonce from go's
crypto/rand
foreach file
-- prepended to the encrypted data salt
+scrypt
hash are stored in the.pass
file which is read before doing anything- Derived key is stored for the CLI session in memory
- Password is either asked from the CLI or specified in environment. NO OTHER WAY.
- List certificates
Add x509 v3 Alternative Names constrains from parsing the common name- Set command: (path)
- Req server
- client/server option to securely issue certificate. Negociate symetric key each side