create_cert $CERT_DIR/${catype}_host "$HOSTNAME" server $DAYS
 
     # generating CRL
-    openssl ca -gencrl -crldays 10000 -out $CA_DIR/${catype}.crl -config $REQ_CONFIG_FILE
+    openssl ca -gencrl -crldays 5000 -out $CA_DIR/${catype}.crl -config $REQ_CONFIG_FILE
 
     add_ca_grid_sec ${catype}
 
 
     # create valid certs with proxies
 
-    PROXY_VALIDITY=10000
+    PROXY_VALIDITY=5000
        
     TYPE="client"
     CTYPE="client"
 CONFIGDIR=$(cd $(dirname $0)/..; echo $PWD)/test
 
 PASSWORD='changeit'
-DAYS=10000
+DAYS=5000
 
 if [ -z "$TARGETDIR" ]; then
     echo "Please specify the destination directory!"