-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Although I have set NOMAD_CACERT, and my certificate is valid:
$ curl https://nomad-ui.mydomain.org:4646/
<a href="/ui/">Temporary Redirect</a>.I get this error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='nomad-ui.mydomain.org', port=4646): Max retries exceeded with url: /v1/allocations?prefix=3147c68d&namespace=default (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate (_ssl.c:1000)')))Is this happening because I am not using NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY?
I am not sure, however, if I set NOMAD_SKIP_VERIFY (export NOMAD_SKIP_VERIFY=true), I still get this other warning message:
/Users/massimiliano.adamo/.local/pipx/venvs/nomad-tools/lib/python3.12/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'nomad-ui.geant.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warningsHence I created a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels