Commit 7cfd27ea authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5554 Using trimmed string attributes for certificate paths

parent e797d377
......@@ -227,17 +227,17 @@ class configInLdap extends simplePlugin
'ssl' => array(
'name' => _('SSL'),
'attrs' => array(
new StringAttribute (
new TrimmedStringAttribute (
_('Key path'), _('Path to FusionDirectory private key. Unused for now.'),
'fdSslKeyPath', FALSE,
'/etc/ssl/private/fd.key'
),
new StringAttribute (
new TrimmedStringAttribute (
_('Certificate path'), _('Path to FusionDirectory certificate. Unused for now.'),
'fdSslCertPath', FALSE,
'/etc/ssl/certs/fd.cert'
),
new StringAttribute (
new TrimmedStringAttribute (
_('CA certificate path'), _('Path to the CA certificate. Used for validating Argonaut Server host.'),
'fdSslCaCertPath', FALSE,
'/etc/ssl/certs/ca.cert'
......@@ -252,7 +252,7 @@ class configInLdap extends simplePlugin
'fdCasActivated', FALSE,
FALSE
),
new StringAttribute (
new TrimmedStringAttribute (
_('CA certificate path'), _('Path to the CA certificate of the CAS server'),
'fdCasServerCaCertPath', FALSE,
'/etc/ssl/certs/ca.cert'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment