Hi, when using untrusted cert, we get a lot of warnings
/opt/bookstack-venv/lib/python3.12/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'docs.redacted.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
i added some suppression to make the output of the log readable.
vim /opt/bookstack-venv/lib/python3.12/site-packages/bookstack_file_exporter/common/util.py
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
when we configure to be insecure means we know the risk. so it makes sense to me to suppress them by code
Hi, when using untrusted cert, we get a lot of warnings
/opt/bookstack-venv/lib/python3.12/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'docs.redacted.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
i added some suppression to make the output of the log readable.
vim /opt/bookstack-venv/lib/python3.12/site-packages/bookstack_file_exporter/common/util.py
when we configure to be insecure means we know the risk. so it makes sense to me to suppress them by code
what do you think?