Key | Affected curl_easy_setopt Options | Notes |
---|---|---|
HTTP.COOKIEJAR | CURLOPT_COOKIEJAR | |
HTTP.COOKIEFILE | CURLOPT_COOKIEJAR | Alias for CURLOPT_COOKIEJAR |
HTTP.PROXY.SERVER | CURLOPT_PROXY, CURLOPT_PROXYPORT, CURLOPT_PROXYUSERPWD | |
HTTP.PROXY_SERVER | CURLOPT_PROXY, CURLOPT_PROXYPORT, CURLOPT_PROXYUSERPWD | Decprecated: use HTTP.PROXY.SERVER |
HTTP.SSL.CERTIFICATE | CURLOPT_SSLCERT | |
HTTP.SSL.KEY | CURLOPT_SSLKEY | |
HTTP.SSL.KEYPASSWORD | CURLOPT_KEYPASSWORD | |
HTTP.SSL.CAINFO | CURLOPT_CAINFO | |
HTTP.SSL.CAPATH | CURLOPT_CAPATH | |
HTTP.SSL.VERIFYPEER | CURLOPT_SSL_VERIFYPEER | |
HTTP.SSL.VALIDATE | CURLOPT_SSL_VERIFYPEER, CURLOPT_SSL_VERIFYHOST | |
HTTP.CREDENTIALS.USERPASSWORD | CURLOPT_USERPASSWORD | |
HTTP.CREDENTIALS.USERNAME | CURLOPT_USERNAME | |
HTTP.CREDENTIALS.PASSWORD | CURLOPT_PASSWORD | |
HTTP.NETRC | N.A. | Specify path of the .netrc file |
Character | Escaped Form |
---|---|
'@' | %40 |
':' | %3a |
Key | curl_easy_setopt Option |
---|---|
HTTP.DEFLATE | CUROPT_DEFLATE with value "deflate,gzip" |
HTTP.VERBOSE | CUROPT_VERBOSE |
HTTP.TIMEOUT | CUROPT_TIMEOUT |
HTTP.USERAGENT | CUROPT_USERAGENT |
HTTP.COOKIEJAR | CUROPT_COOKIEJAR |
HTTP.COOKIE_JAR | CUROPT_COOKIEJAR |
HTTP.PROXY.SERVER | CURLOPT_PROXY, CURLOPT_PROXYPORT, CURLOPT_PROXYUSERPWD |
HTTP.PROXY_SERVER | CURLOPT_PROXY, CURLOPT_PROXYPORT, CURLOPT_PROXYUSERPWD |
HTTP.SSL.CERTIFICATE | CUROPT_SSLCERT |
HTTP.SSL.KEY | CUROPT_SSLKEY |
HTTP.SSL.KEYPASSWORD | CUROPT_KEYPASSWORD |
HTTP.SSL.CAINFO | CUROPT_CAINFO |
HTTP.SSL.CAPATH | CUROPT_CAPATH |
HTTP.SSL.VERIFYPEER | CUROPT_SSL_VERIFYPEER |
HTTP.CREDENTIALS.USERPASSWORD | CUROPT_USERPASSWORD |
HTTP.CREDENTIALS.USERNAME | CUROPT_USERNAME |
HTTP.CREDENTIALS.PASSWORD | CUROPT_PASSWORD |
HTTP.NETRC | CURLOPT_NETRC,CURLOPT_NETRC_FILE |
https://ceda.ac.uk/openid/Firstname.Lastname2. Ask BADC for access to whatever datasets are of interest. 3. Obtain short term credentials at _http://grid.ncsa.illinois.edu/myproxy/MyProxyLogon/_ You will need to download and run the MyProxyLogon program. This will create a keyfile in, typically, the directory ".globus". The keyfile will have a name similar to this: "x509up_u13615" The other elements in ".globus" are certificates to use in validating the certificate your client gets from the server. 4. Obtain the program source ImportKey.java from this location: _http://www.agentbob.info/agentbob/79-AB.html_ (read the whole page, it will help you understand the remaining steps). ### Building the KeyStore You will have to modify the keyfile in the previous step and then create a keystore and install the key and a certificate. The commands are these: openssl pkcs8 -topk8 -nocrypt -in x509up_u13615 -inform PEM -out key.der -outform DER openssl x509 -in x509up_u13615 -inform PEM -out cert.der -outform DER java -classpath