Portal with problem Mixed content http and https
Hi everbody,
I have one environment with WebLogic Server, this WebLogic server has some appplications. It's applications through the conext root, example: test.com/app1 test.com/app2
We are implementing SSL offload, but not work very well. So, I've two VIP's port 80 and port 443, the last with SSL certificate.
On the port 80 I use the follow irule:
when HTTP_REQUEST { HTTP::redirect https://[HTTP::host][HTTP::uri] }
On the port 443, follow irule:
when HTTP_REQUEST { switch [string tolower [HTTP::host]] {
test.com { if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://[HTTP::host]/app1/"
} else { pool pool_app1 }
}
test.com { if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://[HTTP::host]/app2/"
} else { pool pool_app2 }
}
test.com { if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://[HTTP::host]/app3/"
} else { pool pool_app3 }
}
}
}
When I'm acessing the application on browser, I can see this warning:
Mixed Content: The page at 'https://test.com/app1/login.jsp;jsessionid=FQLOIiQginJKvjdq5wj3etGT0PWnSMlicp7jfX9ACiypZoy6gt_A!-925239242' was loaded over HTTPS, but requested an insecure image 'http://test.com/app1/icon.png'. This content should also be served over HTTPS.
Follow more evidencies:
Please specialists, how to fix it?