DIY Virtualization

Mixed Content warnings when using SSL Offloading (Citrix ADC)

16 Jun 2022 · Citrix

Archive article from 2022. Product versions and steps may have changed since — check current vendor documentation before applying.

When accessing a Web App from an HTTPS Load Balancer (HTTP on backend) the site can Not display correctly, report Mixed Content warning in the Browser. This is generally caused by the responses from the backend Web Application containing Absolute links pointing to HTTP resources.

To fix this you need to create the an Rewrite Policy and bind it as a Response policy to the LB or Content Switching vServer.

add rewrite action MCRewriteAction replace_all http.res.body(50000) “”https://”” -pattern http://

add rewrite policy MCRewritePolicy “http.res.body(50000).contains(”http://”)” MCRewriteAction

For more details: https://support.citrix.com/article/CTX232356

Working on Citrix right now? Our engineers can help.

Talk to an engineer