Page 1 of 1

SSL redirect HTTP to HTTPS mixed content issues

Posted: Tue Aug 30, 2016 11:11 am
by jamescarley
I recently tried to automatically redirect HTTP to HTTPS using Apache which made the load time for each individual page extremely long (as long as a few minutes in certain cases). I've made some changes so that the instance is now load balanced therefore redirecting at that level, and after some changes to config files the redirect works. The issue is that the webpage now only allows requests made from HTTPS to be shown, e.g.:

Code: Select all

Mixed Content: The page at 'https://nagios.esendex.com/nagiosxi/' was loaded over HTTPS, but requested an insecure stylesheet 'http://nagios.esendex.com/nagiosxi/includes/css/font-awesome.min.css?1465567804'. This request has been blocked; the content must be served over HTTPS.
Any suggestions would be appreciated!

Re: SSL redirect HTTP to HTTPS mixed content issues

Posted: Tue Aug 30, 2016 1:59 pm
by mcapra
Did you change your program and external URLs to also use HTTPS? Check under Admin->System Settings
2016_08_30_13_58_53_Nagios_XI_Administration.png

Re: SSL redirect HTTP to HTTPS mixed content issues

Posted: Wed Aug 31, 2016 3:55 am
by jamescarley
Yes, this has already been done. I've attached a screenshot of what I'm seeing.

Re: SSL redirect HTTP to HTTPS mixed content issues

Posted: Wed Aug 31, 2016 11:30 am
by rkennedy
Since this has also been posted in customer, I am going to close it up so we can continue there. (or through the ticket you also opened, as I mentioned in it - the choice is yours where we work off of this, but not in multiple places at the same time as it really increases our workload.)

https://support.nagios.com/forum/viewto ... 16&t=40051