diff --git a/bin/ca-create-cert b/bin/ca-create-cert index ac7f1de..6bcef22 100755 --- a/bin/ca-create-cert +++ b/bin/ca-create-cert @@ -53,7 +53,7 @@ while :; do case "$1" in -h|--help) usage; exit 0;; -c|--encrypt) CRYPTKEY=""; shift;; - -f|--config) shift; CONFFILE="$1"; shift;; + -f|--config) shift; CONFFILE="$1"; CONFFILECLI=1; shift;; -t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;; -d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;; -b|--bits) shift; USER_CA_CRT_BITS="$1"; shift;; diff --git a/bin/ca-renew-cert b/bin/ca-renew-cert index 7eaeeab..f4a00fa 100755 --- a/bin/ca-renew-cert +++ b/bin/ca-renew-cert @@ -24,7 +24,7 @@ eval set -- "$opts"; while :; do case "$1" in -h|--help) usage; exit 0;; - -f|--config) shift; CONFFILE="$1"; shift;; + -f|--config) shift; CONFFILE="$1"; CONFFILECLI=1; shift;; -t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;; -d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;; --) shift; break;; diff --git a/bin/ca-revoke-cert b/bin/ca-revoke-cert index 102366a..59b372f 100755 --- a/bin/ca-revoke-cert +++ b/bin/ca-revoke-cert @@ -26,7 +26,7 @@ eval set -- "$opts"; while :; do case "$1" in -h|--help) usage; exit 0;; - -f|--config) shift; CONFFILE="$1"; shift;; + -f|--config) shift; CONFFILE="$1"; CONFFILECLI=1; shift;; -t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;; -l|--crl-days) shift; USER_CA_CRL_DAYS="$1"; shift;; -i|--template) shift; INDEXTPL="$1"; shift;;