usage: cadc-get-cert [-h]
                     (--cert CERT | -n | --netrc-file NETRC_FILE | -u USER)
                     [--host HOST] [--resource-id RESOURCE_ID] [-d | -q | -v]
                     [-V] [--cert-filename CERT_FILENAME]
                     [--days-valid DAYS_VALID]

Retrieve a security certificate for interaction with a Web service such as VOSpace. Certificate will be valid for days-valid and stored as local file cert_filename.

optional arguments:
  --cert CERT           location of your X509 certificate to use for
                        authentication (unencrypted, in PEM format)
  --cert-filename CERT_FILENAME
                        filesystem location to store the proxy certificate.
                        (default: $HOME/.ssl/cadcproxy.pem)
  --days-valid DAYS_VALID
                        number of days the certificate should be valid.
  -d, --debug           debug messages
  -h, --help            show this help message and exit
  --host HOST           base hostname for services - used mainly for testing
                        (default: www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca)
  -n                    use .netrc in $HOME for authentication
  --netrc-file NETRC_FILE
                        netrc file to use for authentication
  -q, --quiet           run quietly
  --resource-id RESOURCE_ID
                        resource identifier (default ivo://cadc.nrc.ca/cred)
  -u, --user USER       name of user to authenticate. Note: application
                        prompts for the corresponding password!
  -v, --verbose         verbose messages
  -V, --version         show program's version number and exit
