Changeset 6933 for TI12-security
- Timestamp:
- 04/06/10 15:06:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/MyProxyServerUtils/myproxy/server/test/myproxy-ws-logon.sh
r6895 r6933 94 94 # 2) --auth-no-challenge force sending of username/password to allow for servers that may not issue an authentication challenge 95 95 #wget $uri --http-user=$username --http-password=$password --post-file=$certreqfilepath --ca-directory=$cadir -O $outfilepath -t 1 --auth-no-challenge 96 response=$(curl $uri -u $username:$password -d "$(cat $certreqfilepath)" --capath $cadir -w " %{http_code}" -s -S) 96 #response=$(curl $uri -u $username:$password -d "$(cat $certreqfilepath)" --capath $cadir -w " %{http_code}" -s -S) 97 response=$(curl $uri -u $username:$password -F "certificate_request=@${certreqfilepath};type=text/plain" --capath $cadir -w " %{http_code}" -s -S) 97 98 responsemsg=$(echo "$response"|sed '$s/ *\([^ ]* *\)$//') 98 99 responsecode=$(echo $response|awk '{print $NF}')
Note: See TracChangeset
for help on using the changeset viewer.