- Get ESG-enabled netCDF - now in 4.1.2 beta2
- build simple client against this version of the library
- Get EEC and delegate (need Globus Toolkit for this example)
So expanding the last step:
1) Get short lived EEC from home MyProxy server:$ myproxy-logon -s <my idp's myproxy host address> -o user.pem -b
2) Delegate to obtain proxy certificate:
$ grid-proxy-init -cert user.pem -key user.pem -out ./credentials.pem -rfc
3) Update netCDF configuration to pick up credentials:
CURL.VERBOSE=1
CURL.COOKIEJAR=.dods_cookies
CURL.SSL.VALIDATE=1
CURL.SSL.CERTIFICATE=<path>/credentials.pem
CURL.SSL.KEY=<path>/credentials.pem
CURL.SSL.CAPATH=<home path>.globus/certificates
Calling the netCDF client makes the underlying Curl library invocation and correctly passes the certificate chain comprising proxy certificate and EEC that issued it (grid-proxy-init step). The OPeNDAP server and associated security middleware is correctly configured to accept proxy certificates. I get my data back :).