README file and show_usage function : replace "cert" with "certificate"
This commit is contained in:
parent
da7809f3c0
commit
d0c6a55538
|
@ -64,7 +64,7 @@ cipher AES-256-GCM
|
||||||
Usage: shellpki <subcommand> [options] [CommonName]
|
Usage: shellpki <subcommand> [options] [CommonName]
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Initialize PKI (create CA key and self-signed cert) :
|
Initialize PKI (create CA key and self-signed certificate) :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
shellpki init <commonName_for_CA>
|
shellpki init <commonName_for_CA>
|
||||||
|
@ -73,13 +73,13 @@ Initialize PKI (create CA key and self-signed cert) :
|
||||||
--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 cert 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 cert 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
|
||||||
|
@ -88,7 +88,7 @@ Create a client cert with key and CSR directly generated on server :
|
||||||
--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 cert :
|
Revoke a client certificate :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
shellpki revoke <commonName>
|
shellpki revoke <commonName>
|
||||||
|
|
8
shellpki
8
shellpki
|
@ -32,19 +32,19 @@ show_usage() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: ${0} <subcommand> [options] [CommonName]
|
Usage: ${0} <subcommand> [options] [CommonName]
|
||||||
|
|
||||||
Initialize PKI (create CA key and self-signed cert) :
|
Initialize PKI (create CA key and self-signed certificate) :
|
||||||
|
|
||||||
${0} init <commonName_for_CA>
|
${0} 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 cert with key and CSR directly generated on server :
|
Create a client certificate with key and CSR directly generated on server :
|
||||||
|
|
||||||
${0} create <commonName>
|
${0} create <commonName>
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-f, --file, --csr-file create a client cert 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
|
||||||
|
@ -52,7 +52,7 @@ Create a client cert with key and CSR directly generated on server :
|
||||||
--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 cert :
|
Revoke a client certificate :
|
||||||
|
|
||||||
${0} revoke <commonName>
|
${0} revoke <commonName>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue