Changeset 6933 for TI12-security/trunk


Ignore:
Timestamp:
04/06/10 15:06:13 (9 years ago)
Author:
pjkersha
Message:

Incomplete - task 5: MyProxy? Logon HTTPS Interface

  • modifying to use explicit POST field names
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/MyProxyServerUtils/myproxy/server/test/myproxy-ws-logon.sh

    r6895 r6933  
    9494# 2) --auth-no-challenge force sending of username/password to allow for servers that may not issue an authentication challenge 
    9595#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) 
     97response=$(curl $uri -u $username:$password -F "certificate_request=@${certreqfilepath};type=text/plain" --capath $cadir -w " %{http_code}" -s -S) 
    9798responsemsg=$(echo "$response"|sed '$s/ *\([^ ]* *\)$//') 
    9899responsecode=$(echo $response|awk '{print $NF}') 
Note: See TracChangeset for help on using the changeset viewer.