Lines Matching full:prefix
23 PREFIX=$1
24 if [ ".$PREFIX" = . ] ; then
25 echo No configuration prefix
28 if [ ! -f $PREFIX-ca.prm ] ; then
29 echo No configuration file $PREFIX-ca.prm
43 echo SERIAL=$SERIAL PREFIX=$PREFIX DURATION=$DURATION KEYSIZE=$KEYSIZE
45 echo "openssl genrsa -out $PREFIX-ca.key $KEYSIZE -passout XXX"
46 openssl genrsa -out $PREFIX-ca.key $KEYSIZE -passout pass:secret
48 echo "openssl req -config $PREFIX-ca.prm -new -key $PREFIX-ca.key -out $PREFIX-ca.csr"
49 $OPENSSL req -config $PREFIX-ca.prm -new -key $PREFIX-ca.key -out $PREFIX-ca.csr -passin pass:secret
51 … -set_serial $SERIAL -extfile $PREFIX-ca.prm -days $DURATION -req -signkey $PREFIX-ca.key -in $PRE…
53 … -set_serial $SERIAL -extfile $PREFIX-ca.prm -days $DURATION -req -signkey $PREFIX-ca.key -in $PRE…
55 echo "openssl x509 -text -in $PREFIX-$SERIAL-ca.cacert -nameopt multiline > $PREFIX-ca.cacert "
56 $OPENSSL x509 -text -in $PREFIX-$SERIAL-ca.cacert -nameopt multiline > $PREFIX-ca.cacert
58 echo "openssl x509 -in $PREFIX-ca.cacert -outform der -out $PREFIX-ca.der "
59 $OPENSSL x509 -in $PREFIX-ca.cacert -outform der -out $PREFIX-ca.der
61 echo "openssl x509 -in $PREFIX-ca.cacert -text -nameopt multiline > $PREFIX-ca.crt "
63 $OPENSSL x509 -in $PREFIX-ca.cacert -text -nameopt multiline > $PREFIX-ca.crt
65 echo "openssl x509 -noout -text -in $PREFIX-ca.cacert -nameopt multiline"
66 $OPENSSL x509 -noout -text -in $PREFIX-ca.cacert -nameopt multiline
68 #$OPENSSL rsa -in ../keys/$PREFIX-ca.key -text -noout -pubout