README file : delete unnecessary leading spaces

This commit is contained in:
Jérémy Dubois 2022-03-22 18:11:17 +01:00
parent d0c6a55538
commit 50fc8c2d21

View file

@ -67,69 +67,69 @@ Usage: shellpki <subcommand> [options] [CommonName]
Initialize PKI (create CA key and self-signed certificate) : Initialize PKI (create CA key and self-signed certificate) :
~~~ ~~~
shellpki init <commonName_for_CA> shellpki init <commonName_for_CA>
Options Options
--non-interactive do not prompt the user, and exit if an error occurs --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 : Create a client certificate with key and CSR directly generated on server :
~~~ ~~~
shellpki create <commonName> shellpki create <commonName>
Options Options
-f, --file, --csr-file create a client certificate from a CSR (doesn't need key) -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 -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 --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 --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 --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 --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 --replace-existing if the certificate already exists, revoke it before creating a new one
~~~ ~~~
Revoke a client certificate : Revoke a client certificate :
~~~ ~~~
shellpki revoke <commonName> shellpki revoke <commonName>
Options Options
--non-interactive do not prompt the user, and exit if an error occurs --non-interactive do not prompt the user, and exit if an error occurs
~~~ ~~~
List all certificates : List all certificates :
~~~ ~~~
shellpki list <options> shellpki list <options>
Options Options
-a, --all list all certificates : valid and revoked ones -a, --all list all certificates : valid and revoked ones
-v, --valid list all valid certificates -v, --valid list all valid certificates
-r, --revoked list all revoked certificates -r, --revoked list all revoked certificates
~~~ ~~~
Check expiration date of valid certificates : Check expiration date of valid certificates :
~~~ ~~~
shellpki check shellpki check
~~~ ~~~
Run OCSP_D server : Run OCSP_D server :
~~~ ~~~
shellpki ocsp <ocsp_uri:ocsp_port> shellpki ocsp <ocsp_uri:ocsp_port>
~~~ ~~~
Show version : Show version :
~~~ ~~~
shellpki version shellpki version
~~~ ~~~
Show help : Show help :
~~~ ~~~
shellpki help shellpki help
~~~ ~~~
## License ## License