SSL redirect HTTP to HTTPS mixed content issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jamescarley
Posts: 2
Joined: Thu May 26, 2016 10:47 am

SSL redirect HTTP to HTTPS mixed content issues

Post 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!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: SSL redirect HTTP to HTTPS mixed content issues

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
jamescarley
Posts: 2
Joined: Thu May 26, 2016 10:47 am

Re: SSL redirect HTTP to HTTPS mixed content issues

Post by jamescarley »

Yes, this has already been done. I've attached a screenshot of what I'm seeing.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SSL redirect HTTP to HTTPS mixed content issues

Post 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
Former Nagios Employee
Locked