]> git.pld-linux.org Git - packages/openssl.git/blobdiff - openssl-ssl-certificate.sh
hack for pod2man test
[packages/openssl.git] / openssl-ssl-certificate.sh
index 234c661c8dace5b7df6251d0f2f0cce249fd353c..dd65c96977d7cdf682213843f9753084d45900f0 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-CERT=/var/lib/openssl/certs/apache.pem
+CERT=/etc/openssl/certs/apache.pem
 export RANDFILE=/dev/random
 
 if [ "$1" != "--force" -a -f $CERT ]; then
@@ -19,7 +19,7 @@ echo
 echo enter your ServerName at the Common Name prompt
 echo
 echo If you want your certificate to expire after x days call this programm 
-echo with "-days x" 
+echo with "-days x". Default: 30 days
 
 # use special .cnf, because with normal one no valid selfsigned
 # certificate is created
@@ -30,4 +30,4 @@ openssl req $@ -config /etc/openssl/openssl.cnf \
 chmod 600 $CERT
 
 ln -sf $CERT \
-  /var/lib/openssl/`/usr/bin/openssl x509 -noout -hash < $CERT`.0
+  /etc/openssl/certs/`/usr/bin/openssl x509 -noout -hash < $CERT`.0
This page took 0.028109 seconds and 4 git commands to generate.