Assume you are running Apache? If so lots of instructions out there for enabling SSL there.For observium, I have a redirect rule for anything on tcp/80 as follows that does the redirect for me in the apache conf file (see the bottom virtual host to see the redirect rule). I'm sure there's 20 other ways to do it but this is working for me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! in /etc/apache2/sites-available/default !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NameVirtualHost *:443<IfModule mod_ssl.c><VirtualHost *:443>ServerAdmin netadmin@mydomain.comDocumentRoot /opt/observium/html/ServerName netobserver.mydomain.comCustomLog /opt/observium/logs/access_log combinedErrorLog /opt/observium/logs/error_log<Directory "/opt/observium/html/">AllowOverride AllOptions FollowSymLinks MultiViews</Directory>SSLEngine onSSLCertificateFile /etc/ssl/localcerts/apache.pemSSLCertificateKeyFile /etc/ssl/localcerts/apache.key<FilesMatch "\.(cgi|shtml|phtml|php)$">SSLOptions +StdEnvVars</FilesMatch><Directory /usr/lib/cgi-bin>SSLOptions +StdEnvVars</Directory>BrowserMatch "MSIE [2-6]" \nokeepalive ssl-unclean-shutdown \downgrade-1.0 force-response-1.0BrowserMatch "MSIE [17-9]" ssl-unclean-shutdownAlias /provision /var/www/provision<Directory /var/www/provision>Order allow,denyAllow from all</directory>Alias /phpmyadmin /var/www/phpmyadmin<Directory /var/www/phpmyadmin>Order allow,denyAllow from all</Directory></VirtualHost>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!This is where the redirect happens<VirtualHost *:80>ServerName netobserver.mydomain.com<Location />Order deny,allowDeny from all</Location>RewriteEngine OnRewriteRule ^/?(.*) https://netobserver.mydomain.com/$1 [R=301,L]</VirtualHost>Hope this helps,KennyOn Tue, Jan 7, 2014 at 12:34 PM, Zach Underwood <zunder1990@gmail.com> wrote:I am trying to move my observium to ssl only. I have ssl working right now when I use https://observium.mydomain.net . I want to redirect people if they connect to from http to https.OS=centos 6.5version=4861
--
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--
Netravine Founder | Kenny Sallee | Kenny@netravine.com | 503.330.2430
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium