Apache HTTPD is unable to connect to backend server with error "remote AH02040: Certificate Verification: Certificate Chain too long (chain has 2 certificates, but maximum allowed are only 1)".

Solution Verified - Updated -

Issue

  • Apache HTTPD is unable to connect to backend server with below error :
[Fri May 22 16:48:14.798140 2020] [ssl:error] [pid 13457] [remote x.x.x.x:443] AH02040: Certificate Verification: Certificate Chain too long (chain has 2 certificates, but maximum allowed are only 1)
[Fri May 22 16:48:14.798189 2020] [ssl:trace3] [pid 13457] ssl_engine_kernel.c(1790): [remote x.x.x.x:443] OpenSSL: Write: SSLv3 read server certificate B
[Fri May 22 16:48:14.798236 2020] [ssl:trace3] [pid 13457] ssl_engine_kernel.c(1809): [remote x.x.x.x:443] OpenSSL: Exit: error in error
[Fri May 22 16:48:14.798245 2020] [ssl:info] [pid 13457] [remote x.x.x.x:443] AH02003: SSL Proxy connect failed
[Fri May 22 16:48:14.798269 2020] [ssl:info] [pid 13457] SSL Library Error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Environment

  • Red Hat Enterprise Linux (RHEL) 6+
    • Apache HTTPD 2.2.x, 2.4.x
  • JBoss Core Services
    • Apache HTTPD 2.2.x, 2.4.x
  • Red Hat Software Collections
    • 3.x (Apache HTTPD 2.2.x, 2.4.x)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In