_err "Can not read key length from csr: $_csrfile"
return1
fi
_info "KeyLength=$_csrkeylength"
}
list(){
list(){
_raw="$1"
_raw="$1"
_initpath
_initpath
@ -2741,13 +2876,15 @@ Commands:
--version, -v Show version info.
--version, -v Show version info.
--install Install $PROJECT_NAME to your system.
--install Install $PROJECT_NAME to your system.
--uninstall Uninstall $PROJECT_NAME, and uninstall the cron job.
--uninstall Uninstall $PROJECT_NAME, and uninstall the cron job.
--upgrade Upgrade $PROJECT_NAME to the latest code from $PROJECT
--upgrade Upgrade $PROJECT_NAME to the latest code from $PROJECT .
--issue Issue a cert.
--issue Issue a cert.
--signcsr Issue a cert from an existing csr.
--installcert Install the issued cert to apache/nginx or any other server.
--installcert Install the issued cert to apache/nginx or any other server.
--renew, -r Renew a cert.
--renew, -r Renew a cert.
--renewAll Renew all the certs
--renewAll Renew all the certs.
--revoke Revoke a cert.
--revoke Revoke a cert.
--list List all the certs
--list List all the certs.
--showcsr Show the content of a csr.
--installcronjob Install the cron job to renew certs, you don't need to call this. The 'install'command can automatically install the cron job.
--installcronjob Install the cron job to renew certs, you don't need to call this. The 'install'command can automatically install the cron job.
--uninstallcronjob Uninstall the cron job. The 'uninstall'command can do this automatically.
--uninstallcronjob Uninstall the cron job. The 'uninstall'command can do this automatically.
--cron Run cron job to renew all the certs.
--cron Run cron job to renew all the certs.
@ -2796,6 +2933,7 @@ Parameters:
--ca-bundle Specifices the path to the CA certificate bundle to verify api server's certificate.
--ca-bundle Specifices the path to the CA certificate bundle to verify api server's certificate.
--nocron Only valid for'--install' command, which means: do not install the default cron job. In this case, the certs will not be renewed automatically.
--nocron Only valid for'--install' command, which means: do not install the default cron job. In this case, the certs will not be renewed automatically.
--ecc Specifies to use the ECC cert. Valid for'--installcert', '--renew', '--revoke', '--toPkcs' and '--createCSR'
--ecc Specifies to use the ECC cert. Valid for'--installcert', '--renew', '--revoke', '--toPkcs' and '--createCSR'