-
When I try to download the source tarball from dakota.sandia.gov (e.g. https://dakota.sandia.gov/sites/default/files/distributions/public/dakota-6.16.0-public-src-cli.tar.gz ), I'm able to download fine if I use a full-fledged browser like Chrome or Firefox to do the download. However, when using curl or python, I encounter SSL validation errors. I'm using the root certs from 2022.09 version of certifi. This is problematic when trying to build dakota in an automated workflow as in https://github.com/conda-forge/dakota-feedstock. Looking for other package recipes in repology, I don't see other packagers struggling with this but there aren't that many who package dakota and are up to date with at least 6.16. How to reproduce SSL error
If I use the pypi aia library to fetch intermediate certificates using Authority Information Access (AIA) extension, then downloading in Python works. Using aia library to build full cert chain
And the checksum matches what I downloaded interactively with a browser. https://unix.stackexchange.com/questions/559526/downloading-from-a-public-server-ssl-certificate-problem-unable-to-get-local-i is a decent description of AIA fetching. I can script around this problem for the conda-forge package recipe but if the configuration of dakota.sandia.gov could be updated to provide the full certificate chain I'd really appreciate it. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Tim -- Our sys admin is looking into this. -- Brian |
Beta Was this translation helpful? Give feedback.
Hi Tim -- Our sys admin is looking into this. -- Brian