From 97e9ba37bafcb0ad8f9aa171ed1e0b677f1d5b1c Mon Sep 17 00:00:00 2001 From: Magik Eh Date: Fri, 6 Sep 2024 14:41:33 -0500 Subject: [PATCH] Add REQUESTS_CA_BUNDLE to postinst Fix for python attempting to connect to services where there are user-installed TLS certificates on the host machine rather than using the pip3 python-requests/python-certifi embedded cert bundles. --- debian/postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/postinst b/debian/postinst index f71a83c..25572e3 100644 --- a/debian/postinst +++ b/debian/postinst @@ -38,5 +38,6 @@ if [ -d $GEOMET_MAPPROXY_CONFIG ] then echo "Configuration $GEOMET_MAPPROXY_CONFIG exists" else + export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ geomet-mapproxy config create fi