From 957a50daa2d7ad44def909bc6d65ecaae943aa87 Mon Sep 17 00:00:00 2001 From: Kieron Taylor Date: Wed, 11 Dec 2024 14:01:09 +0000 Subject: [PATCH] Correct CA validation docs --- src/npg_porch_cli/api.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/npg_porch_cli/api.py b/src/npg_porch_cli/api.py index e639cc1..9ccccce 100644 --- a/src/npg_porch_cli/api.py +++ b/src/npg_porch_cli/api.py @@ -171,6 +171,8 @@ def send( by the `action` attribute of the `action` argument. The context of the query is defined by the pipeline argument. + See also send_request for SSL validation guidance + Args: action: npg_porch_cli.api.PorchAction object @@ -390,8 +392,8 @@ def send_request( Args: validate_ca_cert: A boolean flag defining whether the server CA certificate - will be validated. If set to True, SSL_CERT_FILE environment - variable should be set. + will be validated. If set to True, REQUESTS_CA_BUNDLE environment + variable should be set, for example to /etc/ssl/certs/ca-certificates.crt url: A URL to send the request to. method: