Mixed Content warnings when using SSL Offloading (Citrix ADC)

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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: