Skip to content
Snippets Groups Projects
Commit 5981e4fd authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[data] Fix cacert by adding Idiaps Root CA 2016; Set the env variables correctly

parent 3c380382
No related branches found
No related tags found
No related merge requests found
Pipeline #25824 passed
...@@ -25,7 +25,8 @@ CONDA_RECIPE_APPEND = pkg_resources.resource_filename(__name__, ...@@ -25,7 +25,8 @@ CONDA_RECIPE_APPEND = pkg_resources.resource_filename(__name__,
SERVER = 'http://www.idiap.ch' SERVER = 'http://www.idiap.ch'
'''This is the default server use use to store data and build artifacts''' '''This is the default server use use to store data and build artifacts'''
CACERT = __import__('certifi').where() CACERT = pkg_resources.resource_filename(__name__,
os.path.join('data', 'cacert.pem'))
'''We keep a copy of the CA certificates we trust here '''We keep a copy of the CA certificates we trust here
To update this file use: ``curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem`` To update this file use: ``curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem``
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment