Another question - We use a custom .pem SSL cert ...
# ask-metaflow
n
Another question - We use a custom .pem SSL cert with Metaflow to allow metaflow to talk to AWS through our company VPN. This works until using the @conda decorator. I'm running
REQUESTS_CA_BUNDLE=/Users/erinboehmer/path/to/cert.pem CONDA_CHANNELS=conda-forge python sample_flow.py --environment=conda run --with batch
getting the following:
Copy code
Metaflow 2.8.1 executing SampleFlow for user:erinboehmer
Project: my_project, Branch: user.erinboehmer
Validating your flow...
    The graph looks good!
Running pylint...

    Pylint is happy!
Bootstrapping conda environment...(this could take a few minutes)
    Conda ran into an error while setting up environment.:
    Step: start, Error: CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue.

    Exception: HTTPSConnectionPool(host='<http://conda.anaconda.org|conda.anaconda.org>', port=443): Max retries exceeded with url: /conda-forge/linux-64/repodata.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
Any thoughts on how to get the SSL to conda?
👀 1