Instant On - Wired

Expand all | Collapse all

Local Management - HTTPS redirects to IP instead of Hostname

  • 1.  Local Management - HTTPS redirects to IP instead of Hostname

    Posted 10-25-2020 07:26 AM

    I have a 48-Port 1930 Switch (JL686A) and use the local management interface. I would like to use HTTPS with a proper certificate, but the switch keeps redirecting me to its IP address instead of continuing to use the hostname.

    For example, when you access the switch via a hostname:

    https://switch.mynetwork.com

    The switch will immediately redirect you (with HTTP 302) to https://10.1.1.1 which will break TLS, because the certificate is only issued for switch.mynetwork.com. The redirect will occur regardless of whether accessing the management interface via HTTP or HTTPS. This is a new behaviour and was not present with older Aruba switches (e.g. the 1920S does not do this).

    Is there any way to turn this off?


    #localmanagement
    #https
    #redirect


  • 2.  RE: Local Management - HTTPS redirects to IP instead of Hostname

    Posted 10-26-2020 08:37 AM

    Hi jnsp,

    I'm not 100% sure, but just using a DNS name with http results in similar behaviour. So I don't think it's an https specific problem. That said, it does create more of an issue using TLS / certs.



  • 3.  RE: Local Management - HTTPS redirects to IP instead of Hostname

    Posted 10-26-2020 08:44 AM

    Hi @MrFixit ,

    yes, this is not an issue with only HTTPS. The switch redirects to its IP address regardless of whether it is accessed via HTTP or HTTPS. It should not happen either way and I don't understand the reasoning behind the redirect.