RE: How to add SSL withtout messing up your config for FREE
02-10-2015, 09:04 AM
(This post was last modified: 02-10-2015, 09:04 AM by TVH7.)
You don't have to mess up anything in your apache configs..
Just put this in your global sentora vhost inside the config panel. Wait a moment or force refresh.
Redirect Permanent / https://cp.test.nl/
</VirtualHost>
<VirtualHost *:443>
ServerName cp.test.nl:443
DocumentRoot "/etc/sentora/panel/"
ServerAlias *.cp.test.nl
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/cp.crt
SSLCertificateKeyFile /etc/apache2/ssl/ssl.key
SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Sorry for reopening such an old topic. Didn't notice it.
Just put this in your global sentora vhost inside the config panel. Wait a moment or force refresh.
Redirect Permanent / https://cp.test.nl/
</VirtualHost>
<VirtualHost *:443>
ServerName cp.test.nl:443
DocumentRoot "/etc/sentora/panel/"
ServerAlias *.cp.test.nl
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/cp.crt
SSLCertificateKeyFile /etc/apache2/ssl/ssl.key
SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Sorry for reopening such an old topic. Didn't notice it.