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
esendex
Posts: 10
Joined: Tue Apr 21, 2015 11:14 am

SSL redirect HTTP to HTTPS mixed content issues

Post by esendex »

I've recently created a post regarding this elsewhere on my personal account and thought I'd give it a go in the customers section on my businesses account.

I've load balanced our Nagios instance and set it up so that it redirects HTTP to HTTPS at that level. The issue that I'm currently facing is that there are mixed content errors that are causing the webpage to not load properly. I have previously redirected HTTP to HTTPS with Apache which loaded all of the content correctly, however this caused the webpage to run extremely slowly.
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 »

How did you setup the load balancer? Are you requesting XI on port 80 or port 443? Make sure that it's 443, because internal calls will detect what protocol you're using and adjust at that point. I suspect you're hitting 443 on the load balancer, but 80 on the XI machine.

With that as well, you'll need to make sure you follow out SSL document to setup things properly on the XI side. See this page -
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
Former Nagios Employee
Locked