Changes between Version 8 and Version 9 of Howtos/ESGFDownloadScript


Ignore:
Timestamp:
25/01/11 13:15:49 (10 years ago)
Author:
pjkersha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Howtos/ESGFDownloadScript

    v8 v9  
    66 
    77== 1) Obtaining Credentials from !MyProxy == 
    8 Two different client programs are described here:  
     8Three different client programs are described here:  
    99 1. Java [wiki:Howtos/ESGFDownloadScript#MyProxyLogonWebStart MyProxyLogon Webstart] application 
    1010 1. Python [wiki:Howtos/ESGFDownloadScript#MyProxyClientPackage MyProxyClient] package 
     11 1. [wiki:Howtos/ESGFDownloadScript#BashScript Bash script] for use with CEDA's MyProxy Logon Web Service. 
    1112 
    1213They are alternative means of performing the same task of getting credentials. 
     
    7980The !MyProxyClient installation may fail with compilation errors for OpenSSL.  This is because the OpenSSL development package needs to be installed on your system.  Install this using your Linux package manager e.g. `yast2` or `yum` or contact your system administrator to help you. 
    8081 
     82=== Bash Script === 
     83At CEDA, there is a web service interface for !MyProxy logon which can be called via a bash shell script. 
     84 1. Download scripts: 
     85{{{ 
     86$ wget http://proj.badc.rl.ac.uk/ndg/browser/TI12-security/trunk/MyProxyWebService/myproxy/ws/client/myproxy-ws-get-trustroots.sh 
     87$ wget http://proj.badc.rl.ac.uk/ndg/browser/TI12-security/trunk/MyProxyWebService/myproxy/ws/client/myproxy-ws-logon.sh 
     88}}} 
     89 1. Set up trust roots (directory containing CA certificates to enable your client to correctly verify the identity of the !MyProxy and data download services): 
     90{{{ 
     91$ myproxy-ws-get-trustroots.sh -U https://myproxy.ceda.ac.uk/get-trustroots -b -c ~/.esg/certificates 
     92}}} 
     93 1. Call logon script to get a new credential giving your username and entering your password when prompted: 
     94{{{ 
     95$ myproxy-ws-logon.sh -U https://myproxy.ceda.ac.uk/logon -c ~/.esg/certificates -l <username> -o ~/.esg/credentials.pem 
     96}}} 
     97 
    8198== 2) WGet Script == 
    8299 1. Download the script