From: Zdeněk Šustr Date: Thu, 10 Nov 2011 13:22:31 +0000 (+0000) Subject: - Test delegation with user proxies (hard-coded for the time being) X-Git-Tag: merge_30_head_take2_dst~49 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f3113c884fba0bcab82ccd5380061172f75c081f;p=jra1mw.git - Test delegation with user proxies (hard-coded for the time being) - Update VOMS server DN --- diff --git a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh index 36c1e16..ce683d1 100755 --- a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh +++ b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh @@ -349,7 +349,7 @@ EOF chown apache /var/www/proxycache #delegation - id=`htproxyput --cert /etc/grid-security/hostcert.pem --key /etc/grid-security/hostkey.pem --capath /etc/grid-security/certificates https://$(hostname -f)/gridsite-delegation.cgi` + id=`htproxyput --cert /tmp/x509up_u0 --key /tmp/x509up_u0 --capath /etc/grid-security/certificates https://$(hostname -f)/gridsite-delegation.cgi` printf "id: $id" if [ $? -eq 0 -a -n "$id" ]; then test_done @@ -357,9 +357,9 @@ EOF test_failed fi - expiry=`htproxyunixtime --cert /etc/grid-security/hostcert.pem --key /etc/grid-security/hostkey.pem --capath /etc/grid-security/certificates --delegation-id $id https://$(hostname -f)/gridsite-delegation.cgi` + expiry=`htproxyunixtime --cert /tmp/x509up_u0 --key /tmp/x509up_u0 --capath /etc/grid-security/certificates --delegation-id $id https://$(hostname -f)/gridsite-delegation.cgi` - newid=`htproxyrenew --cert /etc/grid-security/hostcert.pem --key /etc/grid-security/hostkey.pem --capath /etc/grid-security/certificates --delegation-id $id https://$(hostname -f)/gridsite-delegation.cgi` + newid=`htproxyrenew --cert /tmp/x509up_u0 --key /tmp/x509up_u0 --capath /etc/grid-security/certificates --delegation-id $id https://$(hostname -f)/gridsite-delegation.cgi` printf "newid: $newid" if [ $? -eq 0 -a -n "$newid" ]; then test_done @@ -367,7 +367,7 @@ EOF test_failed fi - htproxydestroy --cert /etc/grid-security/hostcert.pem --key /etc/grid-security/hostkey.pem --capath /etc/grid-security/certificates --delegation-id $id https://$(hostname -f)/gridsite-delegation.cgi + htproxydestroy --cert /tmp/x509up_u0 --key /tmp/x509up_u0 --capath /etc/grid-security/certificates --delegation-id $id https://$(hostname -f)/gridsite-delegation.cgi printf "Test handling of VOMS .lsc files (Regression test for bug #39254 and #82023)\n" @@ -393,9 +393,14 @@ EOF mkdir -p /etc/grid-security/vomsdir/voce/ cat > /etc/grid-security/vomsdir/voce/voms1.egee.cesnet.cz.lsc < /etc/grid-security/vomsdir/voce/voms1.egee.cesnet.cz.lsc <