Custom SSL configured Capsule upgrade fails 'Response: 500 Internal Server Error: Check /var/log/foreman/production.log'

Solution Verified - Updated -

Issue

  • While trying to upgrade the Capsule from 6.10 to 6.11, it fails with the following error.
2022-10-18 18:13:27 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: Failed to call refresh: Error making PUT request to https://satellite.example.com/api/v2/smart_proxies/15/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on satellite.example.com for detailed information
2022-10-18 18:13:27 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: Error making PUT request to https://satellite.example.com/api/v2/smart_proxies/15/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on satellite.example.com for detailed information
2022-10-18 18:13:27 [NOTICE] [configure] 1750 configuration steps out of 1761 steps complete.
2022-10-18 18:13:29 [NOTICE] [configure] System configuration has finished.
  • From Satellite /var/log/foreman/production.log
2022-10-18T18:13:27 [I|app|a1fcb9b2] Backtrace for 'Action failed' error (ProxyAPI::ProxyException): ERF12-9411 [ProxyAPI::ProxyException]: Unable to fetch public key ([OpenSSL::SSL::SSLError]: SSL_connect returned=1 errno=0 state=error: tlsv1 alert unknown ca) for Capsule https://capsule.example.com:9090/ssh
2022-10-18T18:14:58 [W|app|1b4b19a9] Action failed

Environment

  • Red Hat Satellite 6.11

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