From 342090957d8e591e2305a34b0ef584cab2e9e4af Mon Sep 17 00:00:00 2001 From: Scott Koranda Date: Mon, 18 Oct 2021 12:14:39 -0500 Subject: [PATCH] LDAP TLS configuration for cron image (CO-2248) --- comanage-registry-cron/Dockerfile | 1 + comanage-registry-cron/ldap.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 comanage-registry-cron/ldap.conf diff --git a/comanage-registry-cron/Dockerfile b/comanage-registry-cron/Dockerfile index 2b1ec62..6dea3d5 100644 --- a/comanage-registry-cron/Dockerfile +++ b/comanage-registry-cron/Dockerfile @@ -28,6 +28,7 @@ RUN apt-get update \ COPY --chown=root:root root-crontab /etc/crontab COPY --chown=root:root www-data-crontab /srv/comanage-registry/local/crontab +COPY --chown=root:root ldap.conf /etc/ldap/ldap.conf RUN /usr/bin/crontab -u www-data /srv/comanage-registry/local/crontab \ && /usr/sbin/usermod --shell /bin/bash www-data \ diff --git a/comanage-registry-cron/ldap.conf b/comanage-registry-cron/ldap.conf new file mode 100644 index 0000000..f58fc0e --- /dev/null +++ b/comanage-registry-cron/ldap.conf @@ -0,0 +1 @@ +TLS_CACERT /etc/ssl/certs/ca-certificates.crt