External LDAP authentication fails with error '([Net::LDAP::Error]: hostname "ad.example.com" does not match the server certificate)'.

Solution Verified - Updated -

Issue

  • External LDAP authentication fails with error '([Net::LDAP::Error]: hostname "ad.example.com" does not match the server certificate)':

    Oops, we're sorry but something went wrong ERF77-7089 [Foreman::LdapException]: Error while connecting to 'LDAP source' LDAP server at 'ad.example.com' during authentication ([Net::LDAP::Error]: hostname "ad.example.com" does not match the server certificate)
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content