Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting
--- /usr/sbin/make-ssl-cert 2007-02-03 07:52:01.000000000 +0100 +++ make-ssl-cert 2007-08-14 17:51:53.000000000 +0200 @@ -9,7 +9,7 @@ ask_via_debconf() { db_settitle make-ssl-cert/title - templates="countryname statename localityname organisationname ouname hostname email" + templates="countryname statename localityname organisationname ouname hostname email days" for i in $templates; do RET="" @@ -48,6 +48,11 @@ db_get make-ssl-cert/email Email="$RET" db_fset make-ssl-cert/email seen false + + db_get make-ssl-cert/days + Days="$RET" + db_fset make-ssl-cert/days seen false + } make_snakeoil() { @@ -115,7 +120,7 @@ export RANDFILE=/dev/random if [ "$1" != "generate-default-snakeoil" ]; then - openssl req -config $TMPFILE -new -x509 -nodes -out $output -keyout $output > /dev/null 2>&1 + openssl req -config $TMPFILE -new -x509 -days $Days -nodes -out $output -keyout $output > /dev/null 2>&1 chmod 600 $output # hash symlink cd $(dirname $output)

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library