From: Joni Hahkala Date: Mon, 2 Nov 2009 12:59:23 +0000 (+0000) Subject: forgot the server proxy lifetime extension X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=19051957ec517de069c24c9d4f776572ffdac43f;p=glite-security-test-utils.git forgot the server proxy lifetime extension --- diff --git a/bin/generate-test-certificates.sh b/bin/generate-test-certificates.sh index 1696ab9..7eae449 100755 --- a/bin/generate-test-certificates.sh +++ b/bin/generate-test-certificates.sh @@ -455,7 +455,7 @@ function create_bad { # create a cert which is not vaild yet export CN="bad future client" theyear=`date +%Y` - let "theyear += 1 " + let "theyear += 10 " valid=${theyear:2}`date +%m%d`000000Z CMD="openssl req -out $CERT_DIR/bad_future.req -newkey rsa:$bits -new -keyout $CERT_DIR/bad_future.priv -config $CA_DIR/req_conf_future.cnf" echo $CMD; eval $CMD @@ -603,10 +603,10 @@ function create_all { create_cert $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" ${TYPE} $DAYS - create_cert_proxy $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" proxy "proxy" 1 + create_cert_proxy $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" proxy "proxy" $PROXY_VALIDITY create_cert_proxy $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" proxy_exp "expired proxy" -1 - create_cert_proxy_proxy $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" proxy_proxy "proxy" 1 proxy + create_cert_proxy_proxy $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" proxy_proxy "proxy" $PROXY_VALIDITY proxy create_cert_proxy_proxy $CERT_DIR/${catype}_${TYPE} "$catype ${CTYPE}" proxy_proxy_exp "expired proxy" -1 proxy_exp TYPE="altname"