Service Virtualization

Expand all | Collapse all

How to forward http request to https for devtest portal

Jump to Best Answer
  • 1.  How to forward http request to https for devtest portal

    Posted 12-14-2017 05:12 AM

    Team,

     

    We have https enabled for our devtest portal. We would like to forward the http request also to https. (i mean when i access my application using http it has to get redirected to https)

     

    How this can be done?

     

    Regards,

    Jithendar



  • 2.  Re: How to forward http request to https for devtest portal
    Best Answer

     
    Posted 01-26-2018 10:32 AM

    Jithendar,

     

    With DevTest you will be able to do one or the other - HTTP OR HTTPS.

     

    To forward HTTP to HTTPS you would need to use reverse-proxy, but be careful with WebSockets. The proxy MUST support WebSockets.

    From our documentation: System Requirements - DevTest Solutions - 10.1 - CA Technologies Documentation 
    DevTest Portal provides content to browsers with WebSockets. Any browser that you use must support WebSockets to be able to successfully use DevTest Portal. Any firewall or reverse-proxy that you use must also permit the use of WebSockets. If they do not, we recommend that you access DevTest Portal with HTTPS to allow WebSocket connectivity.

    In summary, redirect to https, or be careful of WebSockets.

     

    Hope it helps.

    Heloisa



  • 3.  Re: How to forward http request to https for devtest portal

    Posted 09-28-2018 09:01 AM

    Our team encountered the same problematic. Since no idea existed yet, we decided to create one :

    Auto-redirect portal HTTP traffic to HTTPS