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.