Add configuration option for using system truststore instead of bundled truststore for ssl validation (#154)

This commit is contained in:
Lukas Glitt 2025-03-11 14:12:04 +01:00 committed by GitHub
parent da61087fc0
commit 237f76a64b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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 :