Nagios web interface not showing after SSL cert installed

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios web interface not showing after SSL cert installe

Post by mcapra »

I'd be interested in seeing what the Chrome/Firefox dev console has to say about this.

Can you share your browser's console output when trying to access Nagios Core via a web browser? Here's how to get it in Firefox and Chrome:
https://developer.mozilla.org/en-US/doc ... eb_Console
https://developers.google.com/web/tools ... s/console/
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios web interface not showing after SSL cert installe

Post by dwhitfield »

Thanks @mcapra!
shamrozkadiwal
Posts: 74
Joined: Thu Jan 25, 2018 1:13 am

Re: Nagios web interface not showing after SSL cert installe

Post by shamrozkadiwal »

Good news guys!! now I am able to access the nagios page.

I opened the browser's console output and it was showing X-Frame-Options DENY so I changed it to SAMEORIGIN (which one should I put SAMEORIGIN or URL) and after that I am able to access the nagios page. However, now I am seeing net::err_blocked_by_client in the browser console output but I think it is because of ABP (ad blocker).
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios web interface not showing after SSL cert installe

Post by dwhitfield »

Yes, my ad-blocker blocks two on Core as well. I think it's the icons. I can do more digging on that if you like, but I don't notice in difference in the actual page when I have the ad-blocker on versus off.
shamrozkadiwal
Posts: 74
Joined: Thu Jan 25, 2018 1:13 am

Re: Nagios web interface not showing after SSL cert installe

Post by shamrozkadiwal »

I think I am good. No need more troubleshooting....
I really appreciate for your help
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios web interface not showing after SSL cert installe

Post by dwhitfield »

One last chance. :) Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
shamrozkadiwal
Posts: 74
Joined: Thu Jan 25, 2018 1:13 am

Re: Nagios web interface not showing after SSL cert installe

Post by shamrozkadiwal »

haha lets digging more...may be we find out good stuff.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios web interface not showing after SSL cert installe

Post by dwhitfield »

ok, actually, this was pretty simple once I dug into it. The "ads" are coming from the home page, and even though it's not obvious where those are coming from on the other pages, AdBlock sees the page as the same since the URL doesn't change. If you right-click and open up one of the pages with the full URL, then you won't actually get those call backs.

If you wanted to remove those, it'd be easy enough to modify the index.php...but this is going to get overwritten on an upgrade.
shamrozkadiwal
Posts: 74
Joined: Thu Jan 25, 2018 1:13 am

Re: Nagios web interface not showing after SSL cert installe

Post by shamrozkadiwal »

I am not getting back those call after open that...I think you can close this thread now.
Appreciate your help
Locked