ESGF/esg-search

wget credential retrieval fails when non-standard path for ESG_HOME var is giving

cofinoa opened this issue · 0 comments

The getcert java application assumes the CA directory to be in $HOME/.esg/certificates.

If ESG_HOME cariable is not defined to a different place everything works OK. But, if ESG_HOME points to non-standard path, the getcert app still assume the CA certificates on $HOME/.esg/certificates instead $ESG_HOME/certificates

This makes the proxy retrival to fail because the trusted certificates for the CA are not found.

The interim solution is to run the wget script with a different CA directory:

$ export ESG_HOME=/mynonstandarhome
$ export X509_CERT_DIR=$ESG_HOME/certificates
$ ./wget-XXXXXXXXXXX.sh