Project

General

Profile

Support #2435

Updated by Dominic Cleal over 6 years ago

Hey there,



My specs:



Foreman 1.1

RHEL 6.4



I'm attempting to configure LDAP authentication with Foreman 1.1, I'm able to connect with plain ldap. When ldaps is enabled I get the following message:

@

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed



If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace and relevant log entries.

OpenSSL::SSL::SSLError

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

app/models/auth_source_ldap.rb:135:in `search_for_user_entries'

app/models/auth_source_ldap.rb:40:in `authenticate'

app/models/user.rb:112:in `try_to_login'

app/controllers/users_controller.rb:90:in `login'

lib/foreman/thread_session.rb:31:in `clear_thread'@



I did import the SSL certificate used for ldaps communication into /etc/openldap/certs on my local host (just to be sure), but that didn't help. I feel like I'm missing something obvious, any assist would be appreciated.

Back