diff --git a/README.md b/README.md index 1d3022a..15df575 100644 --- a/README.md +++ b/README.md @@ -67,69 +67,69 @@ Usage: shellpki [options] [CommonName] Initialize PKI (create CA key and self-signed certificate) : ~~~ - shellpki init +shellpki init - Options - --non-interactive do not prompt the user, and exit if an error occurs +Options + --non-interactive do not prompt the user, and exit if an error occurs ~~~ Create a client certificate with key and CSR directly generated on server : ~~~ - shellpki create +shellpki create - Options - -f, --file, --csr-file create a client certificate from a CSR (doesn't need key) - -p, --password prompt the user for a password to set on the client key - --password-file if provided with a path to a readable file, the first line is read and set as password on the client key - --days specify how many days the certificate should be valid - --end-date specify until which date the certificate should be valid, in MM/DD/[YY]YY [hh:mm:ss] format - --non-interactive do not prompt the user, and exit if an error occurs - --replace-existing if the certificate already exists, revoke it before creating a new one +Options + -f, --file, --csr-file create a client certificate from a CSR (doesn't need key) + -p, --password prompt the user for a password to set on the client key + --password-file if provided with a path to a readable file, the first line is read and set as password on the client key + --days specify how many days the certificate should be valid + --end-date specify until which date the certificate should be valid, in MM/DD/[YY]YY [hh:mm:ss] format + --non-interactive do not prompt the user, and exit if an error occurs + --replace-existing if the certificate already exists, revoke it before creating a new one ~~~ Revoke a client certificate : ~~~ - shellpki revoke +shellpki revoke - Options - --non-interactive do not prompt the user, and exit if an error occurs +Options + --non-interactive do not prompt the user, and exit if an error occurs ~~~ List all certificates : ~~~ - shellpki list +shellpki list - Options - -a, --all list all certificates : valid and revoked ones - -v, --valid list all valid certificates - -r, --revoked list all revoked certificates +Options + -a, --all list all certificates : valid and revoked ones + -v, --valid list all valid certificates + -r, --revoked list all revoked certificates ~~~ Check expiration date of valid certificates : ~~~ - shellpki check +shellpki check ~~~ Run OCSP_D server : ~~~ - shellpki ocsp +shellpki ocsp ~~~ Show version : ~~~ - shellpki version +shellpki version ~~~ Show help : ~~~ - shellpki help +shellpki help ~~~ ## License