Forum Discussion

Chiggo's avatar
Chiggo
Icon for Nimbostratus rankNimbostratus
Dec 08, 2020

Form http redirect to https

Hi Guys

Can anyone please advise on the following? I have tried a stream profile http:// >> https:// and also tried an iRule found on here which apparently was successful, but maybe slightly different to my requirements.

I have a VS setup listening on 443/HTTPS, backend servers are unencrypted on port 8080. If I set the VS to unencrypted port 80, everything works perfectly. If I switch the VS back to 443/HTTPS (with client SSL profile assigned) and monitor the session in Chrome dev tools, I notice a comment around 'a form contains an insecure endpoint (http://VS IP etc.)

Would this need to be corrected in an iRule and if so any clues on the required syntax? It seems like it is ultimately coming from the backend server, but this is a live system which I cannot tweak.

Thanks!

2 Replies

  • Chiggo's avatar
    Chiggo
    Icon for Nimbostratus rankNimbostratus

    I should have mentioned also, if I set the backend to https all works fine. But I would like the backend to be unencrypted and the F5 taking the weight, also obviously it is only one cert change I need to do when it comes to renewal!

    Thanks