[BlueOnyx:19413] Re: Cannot install SSL Certificate :(

Colin Jack colin at mainline.co.uk
Thu Mar 31 03:38:59 -05 2016


Hi Michael,


>
>I'm not sure what you want to do there. Usually the GUI works on both
>HTTP and HTTPs. However, through the GUI you can configure that you only
>want to allow HTTPS.
>
>If the cert is broken and you have that enabled, then you may have a
>problem.

Looking in /etc/admserv/conf/httpd.conf I have the following:

Listen 81
Listen 444


RewriteEngine On
RewriteCond %{HTTPS}                    =on
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteCond %{DOCUMENT_ROOT}            !-d
RewriteRule .*                          https://%1:81/error/forbidden.html [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/admin/?$                  https://%1:81/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/siteadmin/?$              https://%1:81/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/personal/?$               https://%1:81/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/login/?$                  https://%1:81/login.php [L,R]


# ssl is on for the admin server by default
<VirtualHost _default_:444>
SSLEngine off
RewriteEngine On
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteCond %{DOCUMENT_ROOT}            !-d
RewriteRule .*                          http://%1:444/error/forbidden.html [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/admin/?$                  http://%1:444/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/siteadmin/?$              http://%1:444/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/personal/?$               http://%1:444/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/login/?$                  http://%1:444/login.php [L,R]
</VirtualHost>



So SSL is on by default. :(

I tried changing HTTPS to =off but that didn’t make any difference.

Thanks

Colin
>




More information about the Blueonyx mailing list