Lines Matching refs:PREFIX

25 PREFIX=$1
26 if [ ".$PREFIX" = . ] ; then
30 if [ ! -f $PREFIX-sv.prm ] ; then
31 echo No configuration file $PREFIX-sv.prm
62 echo SERIAL=$SERIAL PREFIX=$PREFIX CAPREFIX=$CAPREFIX DURATION=$DURATION KEYSIZE=$KEYSIZE
65 echo "openssl dhparam -2 -out $PREFIX-sv.dhp $KEYSIZE"
66 $OPENSSL dhparam -2 -out $PREFIX-sv.dhp $KEYSIZE
70 …echo "openssl req -config $PREFIX-sv.prm -newkey rsa:$KEYSIZE -keyout $PREFIX-sv.key -out $PREFIX-…
71 …$OPENSSL req -config $PREFIX-sv.prm -newkey rsa:$KEYSIZE -keyout $PREFIX-sv.key -out $PREFIX-sv.cs…
74 echo "openssl rsa -in $PREFIX-sv.key -out $PREFIX-sv.key"
75 $OPENSSL rsa -in $PREFIX-sv.key -out $PREFIX-sv.key -passin pass:secret
78 echo "openssl rsa -in $PREFIX-sv.key -pubout -outform DER -out $PREFIX-sv.pub.der"
79 $OPENSSL rsa -in $PREFIX-sv.key -pubout -outform DER -out $PREFIX-sv.pub.der
81 echo "openssl rsa -in $PREFIX-sv.key -pubout -outform PEM -out $PREFIX-sv.pub.pem"
82 $OPENSSL rsa -in $PREFIX-sv.key -pubout -outform PEM -out $PREFIX-sv.pub.pem
84 …ile $PREFIX-sv.prm -days $DURATION -CA $CAPREFIX-ca.cacert -CAkey $CAPREFIX-ca.key -in $PREFIX-sv…
86 …ile $PREFIX-sv.prm -days $DURATION -CA $CAPREFIX-ca.cacert -CAkey $CAPREFIX-ca.key -in $PREFIX-sv…
90 …"$OPENSSL pkcs12 -export -des3 -out $PREFIX-sv.p12 -caname $CAPREFIX -name $PREFIX -inkey $PREFIX-…
92 …$OPENSSL pkcs12 -export -des3 -out $PREFIX-sv.p12 -caname $CAPREFIX -name $PREFIX -inkey $PREFIX-s…
95 echo "openssl x509 -noout -text -hash -in $PREFIX-sv.selfcert -nameopt multiline"
96 $OPENSSL x509 -noout -text -hash -in $PREFIX-sv.crt -nameopt multiline
101 echo "openssl ca -config $CAPREFIX-ca.cnf -revoke $PREFIX-sv.crt"
102 $OPENSSL ca -config $CAPREFIX-ca.cnf -revoke $PREFIX-sv.crt
105 echo "openssl ca -config $CAPREFIX-ca.cnf -gencrl -out $PREFIX-sv.crl"
106 $OPENSSL ca -config $CAPREFIX-ca.cnf -gencrl -out $PREFIX-sv.crl
108 echo "openssl x509 -in $PREFIX-sv.crt -outform der -out $PREFIX-sv.der "
109 $OPENSSL x509 -in $PREFIX-sv.crt -outform der -out $PREFIX-sv.der
112 touch $PREFIX-sv.dhp
113 cat $PREFIX-sv.prm $PREFIX-sv.key $PREFIX-sv.crt $PREFIX-sv.dhp >$PREFIX-sv.pem
114 chmod o-r $PREFIX-sv.prm
116 echo "$PREFIX-sv.pem done"