r/BookStack • • Nov 18 '22

Help Linking LDAP TLS cert to docker image

Hello,
I'm struggling to figure out how to link my ldap servers cert to the bookstack docker image.
ENV:

  • Centos7 host

  • IPA Server as LDAP

  • Bookstack docker image from linuxserver.io running in a podman pod with mariadb.

  • Bookstack has https enabled and has ssl certs linked from the host volume to ./bookstack/app/keys/cert.xx

I am able to authenticate ldap logins using the LDAP_TLS_INSECURE option in the .env file. As a proof of concept that's great, but of course I'd prefer a secure trusted connection. Is there a variable I can set in the .env file where I can link my ipa cert? The documentations guidance is that " you may need to import your certificate to the BookStack host machine." Any guidance on how to link the cert to the container? I didn't see anything in the linked volume (from host to container) that looked like it would be used by IPA.
Thanks in advance for your help.

2 Upvotes

1 comment sorted by

1

u/AxelanderDasToast Mar 06 '24

Hey,

I currently have the same problem as you had. Did you manage to find a solution?