Frequently Asked Questions
I've written a script that calls the DevGrid API but it's throwing a certificate error
Python requests uses the certifi CA bundle by default. Requests are sometimes intercepted by a corporate HTTPS proxy performing TLS inspection. The proxy re-signs the TLS certificate using a private enterprise CA, which is not included in certifi. As a result, requests report a certificate verify failed error. This is a known issue for Python, we have not tested in other languages.
The issue can be resolved without modifying certifi on the client by ensuring that Python bypasses the corporate proxy when connecting to the DevGrid API. This can be achieved by:
- Setting NO_PROXY to include prod.api.devgrid.io (recommended).
- Configuring requests.Session() to ignore proxy environment variables (trust_env=False).
- Alternatively, if proxy use is required, adding the corporate CA bundle to REQUESTS_CA_BUNDLE.
Updated 16 days ago
