You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by sm...@apache.org on 2026/04/16 04:55:16 UTC
(knox) branch master updated: KNOX-3299: adding inline documentation for usage of env. var: TRUSTSTORE_IMPORTS (#1201)
This is an automated email from the ASF dual-hosted git repository.
smolnar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new dd021c359 KNOX-3299: adding inline documentation for usage of env. var: TRUSTSTORE_IMPORTS (#1201)
dd021c359 is described below
commit dd021c3599e5261a9f57b3841d47441813e20855
Author: Selvamohan Neethiraj <sn...@apache.org>
AuthorDate: Thu Apr 16 00:55:10 2026 -0400
KNOX-3299: adding inline documentation for usage of env. var: TRUSTSTORE_IMPORTS (#1201)
---
gateway-docker/src/main/resources/docker/gateway-entrypoint.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gateway-docker/src/main/resources/docker/gateway-entrypoint.sh b/gateway-docker/src/main/resources/docker/gateway-entrypoint.sh
index bb8c4fb78..cf38f8eae 100755
--- a/gateway-docker/src/main/resources/docker/gateway-entrypoint.sh
+++ b/gateway-docker/src/main/resources/docker/gateway-entrypoint.sh
@@ -30,6 +30,11 @@
# - DATABASE_CONNECTION_PASSWORD - (optional) gateway database password
# - DATABASE_CONNECTION_TRUSTSTORE_PASSWORD - (optional) gateway database ssl truststore password
# - CUSTOM_CERT - (optional) the location of a file containing the custom certs
+# - TRUSTSTORE_IMPORTS - (optional) - a string containing one or more of the following: {aliasIdForImport:PEMEncodedTrustCertificateFileLocation} separated by space(s).
+# Example:
+# TRUSTSTORE_IMPORTS="myRootCA:/mountedpath/enterprise_root_cert.pem myBizPartnerCA:/mountedpath/mybiz_partner_cert.pem"
+# Description:
+# This will import the specified certificates into the truststore JKS with the provided alias name(s) during the container startup process.
set -e