Lines Matching refs:PREFIX
49 PREFIX="${1:-}"
50 if [ -z "$PREFIX" ]; then
54 if [ ! -f "$PREFIX-ca.prm" ]; then
55 echo "No configuration file $PREFIX-ca.prm"
66 echo "PREFIX=$PREFIX DURATION=$DURATION KEYSIZE=$KEYSIZE"
70 "$OPENSSL" genrsa -out "$PREFIX-ca.key" -passout fd:0 "$KEYSIZE" <<EOF
73 "$OPENSSL" req -config "$PREFIX-ca.prm" -new -key "$PREFIX-ca.key" -out "$PREFIX-ca.csr" -passin fd…
76 "$OPENSSL" x509 -extfile "$PREFIX-ca.prm" -days "$DURATION" -req -signkey "$PREFIX-ca.key" -in "$PR…
77 "$OPENSSL" x509 -text -in "$PREFIX-raw-ca.cacert" -nameopt multiline > "$PREFIX-ca.cacert"
78 "$OPENSSL" x509 -in "$PREFIX-ca.cacert" -outform der -out "$PREFIX-ca.der"
79 "$OPENSSL" x509 -in "$PREFIX-ca.cacert" -text -nameopt multiline > "$PREFIX-ca.crt"
80 "$OPENSSL" x509 -noout -text -in "$PREFIX-ca.cacert" -nameopt multiline