How to change hostname of the RHUA server?

Solution Verified - Updated -

Issue

  • Need to change the hostname of the RHUA server.
  • After setting new hostname of the RHUA server, below error is observed:

    RequestException: POST request
    on
    /pulp/api/v2/repositories/rhel-7-server-rhui-rpms-7Server-x86_64/actions/publish
    / failed with 500 - (u"Connection hostname '<old-hostname>' does not match
    names from peer certificate:
    ['<new-hostname>',
    u'<new-hostname>']",)
    

Environment

  • Red Hat Update Infrastructure 3.x

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