Forum Discussion

Jeffrey_A_Green's avatar
Jeffrey_A_Green
Icon for Nimbostratus rankNimbostratus
Sep 27, 2013

Can I rewrite a HTTPS header using an iRule

Can I rewrite a HTTPS header to something different? Example: https://www.abcd.com:8443 to https://www.1234.com:8443

 

1 Reply

  • It depends.

     

    If you see it clear text (i.e. with an http CONNECT method in front of a proxy) it is easy to modify the URI on the fly.

     

    If you want to change it i.e. with a http GET request you will need to touch the host header in the request. The URI remains the same. But in this case the traffic is very likely encrypted and you need to apply SSL termination and reencryption.