add cert and key config options

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-02-26 22:23:07 +01:00
parent e357c3a931
commit d06a0de75f
3 changed files with 24 additions and 1 deletions

View File

@@ -144,6 +144,8 @@ func Server(cfg *config.Config) *cli.Command {
LDAPS: glauthcfg.LDAPS{
Enabled: cfg.Ldaps.Enabled,
Listen: cfg.Ldaps.Address,
Cert: cfg.Ldaps.Cert,
Key: cfg.Ldaps.Key,
},
Backend: glauthcfg.Backend{
Datastore: cfg.Backend.Datastore,