From 8ea38846325f7f9d137696a90f1fd49a5b87e14a Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Sat, 7 Oct 2023 14:21:00 +0530 Subject: [PATCH] chore: Support auto-SSL when running behind a forward proxy --- deploy/docker/fs/opt/appsmith/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/docker/fs/opt/appsmith/entrypoint.sh b/deploy/docker/fs/opt/appsmith/entrypoint.sh index 0e104b0319..7eee9ea9dd 100644 --- a/deploy/docker/fs/opt/appsmith/entrypoint.sh +++ b/deploy/docker/fs/opt/appsmith/entrypoint.sh @@ -314,6 +314,9 @@ setup-custom-ca-certificates() ( echo "-Djavax.net.ssl.trustStore=$store" echo "-Djavax.net.ssl.trustStorePassword=changeit" } > "$opts_file" + + # Get certbot to use the combined trusted CA certs file. + export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt ) configure_supervisord() {