SSL Redirection 5.2.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SSL Redirection 5.2.3

Post by Box293 »

Willem,
I've just been updating the SSL documentation for XI, it should be released in a day or two.

In relation to this:
WillemDH wrote:the following works:

http://naglog.domain will be redirected to https://naglog.domain/nagioslogserver/login?redirect=

But this will generate cert error:

http://naglog will be redirected to https://naglog/nagioslogserver/login?redirect=
Based on defining these settings in httpd.conf:
mikew wrote:###########################################
Edit /etc/httpd/conf/httpd.conf
###########################################
Place this text at the end of the file.

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
You can simply change the RewriteRule to

Code: Select all

RewriteRule (.*) https://naglog.domain%{REQUEST_URI}
And it will force the users to the correct dns name so the browser does not complain about the certificate.

I've made a note about this in the documentation.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked