* Sat Jan 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- use esmith::ssl to set ciphers and protocol [SME: 12824]
This commit is contained in:
parent
fa9114f3c5
commit
e4b1d014bc
@ -1 +0,0 @@
|
|||||||
sme10
|
|
@ -1,15 +1,8 @@
|
|||||||
|
{
|
||||||
TLSCipherSuite { $ldap{CipherSuite} || $modSSL{CipherSuite} || 'ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:HIGH@STRENGTH:!SSLv2:!ADH:!aNULL:!MD5:!RC4' }
|
use esmith::ssl;
|
||||||
TLSProtocolMin { my $TLSProtocolMin = $ldap{TLSProtocolMin} || 'TLSv1.2';
|
$OUT = "TLSCipherSuite ". ( $ldap{CipherSuite} || $modSSL{CipherSuite} || $smeCiphers ) ."\n";
|
||||||
if ( $TLSProtocolMin eq 'SSLv3' ){
|
my $TLSProtocolMin = ( (exists $ldap{'TLSProtocolMin'} ) && (exists $existingSSLprotos{$ldap{'TLSProtocolMin'}} ) ) ? SSLprotoLDAP($ldap{'TLSProtocolMin'}) : SSLprotoLDAP();
|
||||||
$OUT = " 3.0";
|
$OUT .= "TLSProtocolMin ". $TLSProtocolMin ."\n";
|
||||||
} elsif ( $TLSProtocolMin eq 'TLSv1.0' || $TLSProtocolMin eq 'TLSv1' ){
|
|
||||||
$OUT = " 3.1";
|
|
||||||
} elsif ( $TLSProtocolMin eq 'TLSv1.1' ){
|
|
||||||
$OUT = " 3.2";
|
|
||||||
} elsif ( $TLSProtocolMin eq 'TLSv1.2' ){
|
|
||||||
$OUT = " 3.3";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
TLSCACertificateFile /etc/openldap/ssl/slapd.pem
|
TLSCACertificateFile /etc/openldap/ssl/slapd.pem
|
||||||
TLSCertificateFile /etc/openldap//ssl/slapd.pem
|
TLSCertificateFile /etc/openldap//ssl/slapd.pem
|
||||||
|
@ -4,7 +4,7 @@ Summary: smeserver server and gateway - LDAP module
|
|||||||
%define name smeserver-ldap
|
%define name smeserver-ldap
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 10
|
%define release 11
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -29,6 +29,9 @@ Provides: e-smith-ldap
|
|||||||
smeserver server and gateway software - LDAP module.
|
smeserver server and gateway software - LDAP module.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
|
||||||
|
- use esmith::ssl to set ciphers and protocol [SME: 12824]
|
||||||
|
|
||||||
* Tue Nov 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme
|
* Tue Nov 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme
|
||||||
- send ldap logs to dedicated rsyslog file [SME: 12771]
|
- send ldap logs to dedicated rsyslog file [SME: 12771]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user