Re: SSL Redirection 5.2.3
Posted: Mon Mar 14, 2016 11:01 pm
Willem,
I've just been updating the SSL documentation for XI, it should be released in a day or two.
In relation to this:
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.
I've just been updating the SSL documentation for XI, it should be released in a day or two.
In relation to this:
Based on defining these settings in httpd.conf: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=
You can simply change the RewriteRule tomikew 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}
Code: Select all
RewriteRule (.*) https://naglog.domain%{REQUEST_URI}I've made a note about this in the documentation.