Lines Matching refs:CAPREFIX
64 CAPREFIX="${2:-}"
65 if [ -z "$CAPREFIX" ]; then
69 if [ ! -f "$CAPREFIX-ca.cacert" ]; then
70 echo "No CA certificate file $CAPREFIX-ca.caert"
73 if [ ! -f "$CAPREFIX-ca.key" ]; then
74 echo "No $CAPREFIX key"
85 echo "PREFIX=$PREFIX CAPREFIX=$CAPREFIX DURATION=$DURATION KEYSIZE=$KEYSIZE"
106 …L" x509 -extfile "$PREFIX-sv.prm" -days "$DURATION" -CA "$CAPREFIX-ca.cacert" -CAkey "$CAPREFIX-ca…
109 …out "$PREFIX-sv.p12" -caname "$CAPREFIX" -name "$PREFIX" -inkey "$PREFIX-sv.key" -in "$PREFIX-sv.c…
115 touch "$CAPREFIX-ca.db"
116 echo 01 > "$CAPREFIX-ca.cnt"
117 "$OPENSSL" ca -config "$CAPREFIX-ca.cnf" -revoke "$PREFIX-sv.crt"
120 "$OPENSSL" ca -config "$CAPREFIX-ca.cnf" -gencrl -out "$PREFIX-sv.crl"