From fa16ebc4aea06b5617912bd3adab4ed18dd2502c Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Mon, 24 Oct 2022 21:14:04 +0200 Subject: [PATCH 1/2] :bug: Remove faulty dehydrated_certs_dir variable --- krypton.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/krypton.yml b/krypton.yml index bbb8443..9a9ac8e 100644 --- a/krypton.yml +++ b/krypton.yml @@ -7,8 +7,6 @@ data_dir: "/srv/data" - dehydrated_certs_dir: "/usr/local/etc/dehydrated" - docker_ip_ranges: ["172.16.0.0/12", "192.168.0.0/16"] openldap_image_version: 1.5.0 From f6b33076e0968bb664921ef3b8365bebf6448560 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Mon, 24 Oct 2022 21:14:40 +0200 Subject: [PATCH 2/2] :bug: Fix ldap cert directories --- krypton.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/krypton.yml b/krypton.yml index 9a9ac8e..5ca51d3 100644 --- a/krypton.yml +++ b/krypton.yml @@ -48,7 +48,7 @@ - "{{ openldap_data }}/ldap" - "{{ openldap_data }}/slapd" - "{{ openldap_data }}/ldif" - - "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}" + - "{{ dehydrated_certs_dir }}/{{ openldap_domain }}" - name: Ensure container for openLDAP is running. docker_container: @@ -83,7 +83,7 @@ volumes: - "{{ openldap_data }}/ldap:/var/lib/ldap" - "{{ openldap_data }}/slapd:/etc/ldap/slapd.d" - - "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}:/container/service/slapd/assets/certs" + - "{{ dehydrated_certs_dir }}/{{ openldap_domain }}:/container/service/slapd/assets/certs" - "{{ openldap_data }}/ldif/custom-element.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/01_netz39.ldif" timeout: 500 command: "--copy-service --loglevel debug"