4 # Sign a certificate signing request (a .csr file)
5 # with a local root certificate and key.
9 echo "usage: sign-req <name>";
13 if test $KEY_DIR; then
15 openssl ca
-days 3650 -out $1.crt
-in $1.csr
-config $KEY_CONFIG
17 echo you must define KEY_DIR