Conct ldap с TLS и самозаверяющим сертификатом - PullRequest
0 голосов
/ 14 ноября 2018

Когда я пытаюсь подключить Freeradius с ldap с самозаверяющим сертификатом, у меня появляется это сообщение:

rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://freeipa.datiobd.com:389
TLSMC: MozNSS compatibility interception begins.
tlsmc_open_nssdb: WARN: could not initialize MozNSS context - error -8015.
tlsmc_convert: INFO: cannot open the NSS DB, expecting PEM configuration is present.
tlsmc_intercept_initialization: INFO: successfully intercepted TLS initialization. Continuing with OpenSSL only.
TLSMC: MozNSS compatibility interception ends.
TLS certificate verification: Error, self signed certificate in certificate chain
TLS: can't connect: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed (self signed certificate in certificate chain).

Это моя конфигурация модуля ldap:

ldap {
        server = 'ldap://ldap.server' # ldap server
        port = '389' # ldap port
        identity = 'user'
.....

    tls {
            start_tls = yes
            require_cert = "demand"
    }

Как мне сказатьfreeradius доверять самоподписанному сертификату?

Спасибо!

...