After changing Satellite hostname a content host registered to a Capsule receives "certificate verify failed: Hostname mismatch" on rpm install
Issue
After changing the Satellite hostname successfully some clients of Capsules retrieve this error when trying to install a rpm;
Sep 27 12:27:34 oldname pulpcore-content[523678]: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'oldname.example.com'. (_ssl.c:1131)
Environment
Satellite 6.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.