-
Notifications
You must be signed in to change notification settings - Fork 0
dalt74/microca
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple script to perform basic CA tasks 1. Create and select CA directory # mkdir my_ca_folder # cd my_ca_folder 2. Prepare Micro-CA directory # ../main/action prepare This will create: * openssl configuration - <conf_dir>/.openssl.cnf * MicroCA configuration - <conf_dir>/.config * openssl-compliant CA database - <conf_dir>/ca_dir/* 3. Change config ot configure your defaults Set CRL/cert lifetimes and default DN component values # vi .config 4. Generate root certificate # ../main/action init 5. Generate request # ../main/action req username [email protected] 6. Sign request for a default lifetime # ../main/action sign requests/username-*.csr or sign for 37 days # ../main/action sign requests/username-*.csr 37 The new certificate will be copied into <conf_dir>/certificates folder 7. Revoke cert # ../main/action revoke certificates/username-*.crt 8. Update CRL # ../main/action crl # cp crl.pem /some/path/where/you/need Env wars: CONF_DIR - specify path to CA directory REQ_CERT_DAYS - set certificate lifetime while creating request
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published