How to disable cockpit redirect to HTTPS

Solution Verified - Updated -

Issue

  • The web interface cockpit requires HTTPS for connections to non-localhost; in the case of an HTTP, it automatically redirects to HTTPS.

    # curl -I http://192.168.122.189:9090/
    HTTP/1.1 301 Moved Permanently
    Content-Type: text/html
    Location: https://192.168.122.189:9090/
    
  • How to disable cockpit redirect to HTTPS

Environment

  • Red Hat Enterprise Linux 8 and 9
  • cockpit

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