Wednesday, March 23, 2022

[389-users] Files required for working TLS (was: Re: Running 389ds server in Kubernetes: Questions on certificate names and bootstrapping)

Hi again,

On 23.03.22 at 11:23 Johannes Kastl wrote:

seems like just having proper server.key and tls.key files is not enough. I
still get a warning that TLS could not be enabled:

> INFO: Checking for PEM TLS files ...
> INFO: Found -> []
> INFO: Have /data/tls/server.key -> True
> INFO: Have /data/tls/server.crt -> True
> INFO: Have /data/tls/ca -> False
> INFO: Have /data/config/pwdfile.txt -> True
> INFO: Unable to configure TLS from PEM, missing a required file.

The only thing that is apparently not found is /data/tls/ca, which is existing
(but is an empty directory).

> 389server-5945c6677f-c856s:/ # ll /data/tls/
> total 0
> drwxr-xr-x. 2 root root 80 Mar 23 10:40 ..2022_03_23_10_40_09.094925764
> lrwxrwxrwx. 1 root root 31 Mar 23 10:40 ..data -> ..2022_03_23_10_40_09.094925764
> drwxrwxrwx. 1 root root 0 Mar 23 10:40 ca
> lrwxrwxrwx. 1 root root 17 Mar 23 10:40 server.crt -> ..data/server.crt
> lrwxrwxrwx. 1 root root 17 Mar 23 10:40 server.key -> ..data/server.key
> 389server-5945c6677f-c856s:/ # ll /data/tls/ca/
> total 0
> 389server-5945c6677f-c856s:/ #

From the docker image description:

> ca is a folder with PEM format CA's that should be added to the trust root for this instance.

I understood this to be optional? Is this actually required?

Kind Regards,
Johannes

--
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
http://www.b1-systems.de
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

No comments:

Post a Comment