Lines Matching refs:PREFIX
21 PREFIX=$1
22 if [ ".$PREFIX" = . ] ; then
26 if [ ! -f $PREFIX-ca.prm ] ; then
27 echo No configuration file $PREFIX-ca.prm
41 echo SERIAL=$SERIAL PREFIX=$PREFIX DURATION=$DURATION KEYSIZE=$KEYSIZE
43 echo "openssl genrsa -out $PREFIX-ca.key $KEYSIZE -passout XXX"
44 openssl genrsa -out $PREFIX-ca.key $KEYSIZE -passout pass:secret
46 echo "openssl req -config $PREFIX-ca.prm -new -key $PREFIX-ca.key -out $PREFIX-ca.csr"
47 $OPENSSL req -config $PREFIX-ca.prm -new -key $PREFIX-ca.key -out $PREFIX-ca.csr -passin pass:secret
49 … -set_serial $SERIAL -extfile $PREFIX-ca.prm -days $DURATION -req -signkey $PREFIX-ca.key -in $PRE…
51 … -set_serial $SERIAL -extfile $PREFIX-ca.prm -days $DURATION -req -signkey $PREFIX-ca.key -in $PRE…
53 echo "openssl x509 -text -in $PREFIX-$SERIAL-ca.cacert -nameopt multiline > $PREFIX-ca.cacert "
54 $OPENSSL x509 -text -in $PREFIX-$SERIAL-ca.cacert -nameopt multiline > $PREFIX-ca.cacert
56 echo "openssl x509 -in $PREFIX-ca.cacert -outform der -out $PREFIX-ca.der "
57 $OPENSSL x509 -in $PREFIX-ca.cacert -outform der -out $PREFIX-ca.der
59 echo "openssl x509 -in $PREFIX-ca.cacert -text -nameopt multiline > $PREFIX-ca.crt "
61 $OPENSSL x509 -in $PREFIX-ca.cacert -text -nameopt multiline > $PREFIX-ca.crt
63 echo "openssl x509 -noout -text -in $PREFIX-ca.cacert -nameopt multiline"
64 $OPENSSL x509 -noout -text -in $PREFIX-ca.cacert -nameopt multiline