From 237f76a64b32c4d6043e48137d86ea546f5fc577 Mon Sep 17 00:00:00 2001 From: Lukas Glitt Date: Tue, 11 Mar 2025 14:12:04 +0100 Subject: [PATCH] Add configuration option for using system truststore instead of bundled truststore for ssl validation (#154) --- .env.example | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.example b/.env.example index 5025ea1..36526b6 100644 --- a/.env.example +++ b/.env.example @@ -3,4 +3,5 @@ NETBOX_TOKEN= REPO_URL=https://github.com/netbox-community/devicetype-library.git REPO_BRANCH=master IGNORE_SSL_ERRORS=False +#REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt # you should enable this if you are running on a linux system #SLUGS=c9300-48u isr4431 isr4331 diff --git a/README.md b/README.md index ad52941..386a92b 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ The container supports the following env var as configuration : - `NETBOX_URL`, used to access netbox - `NETBOX_TOKEN`, token for accessing netbox - `VENDORS`, a comma-separated list of vendors to import (defaults to None) +- `REQUESTS_CA_BUNDLE`, path to a CA_BUNDLE for validation if you are using self-signed certificates(file must be included in the container) To run :