Requirement here.
Having your SSL certificate issued & ok.
Basic knowledge over apache admin & conf files.
1. create a new file for panel SSL Setup:
/etc/sentora/configs/http-panel-ssl.conf
you need to replace : ServerName panel.FQDNN with your panel sub domain you had setup.
You will notice we need 3 files here for your SSL ( you can change the path if you want):
SSLCertificateFile /etc/sentora/configs/ssl/sentora.crt
SSLCertificateKeyFile /etc/sentora/configs/ssl/sentora.pem
SSLCertificateChainFile /etc/sentora/configs/ssl/sentora.crt
Once this config file setup.
You can include it in the main apache conf file would be last one after all previous sentora include files.
Once you do the setup and add this file your panel can be accessed using 80 & port 443 under HTTPS on the same time. Up to you then using a .htaccess to enforce https or leave it.
Would this be ok & clear?
M B
Having your SSL certificate issued & ok.
Basic knowledge over apache admin & conf files.
1. create a new file for panel SSL Setup:
/etc/sentora/configs/http-panel-ssl.conf
Code:
Listen 443
# Configuration for Sentora control panel with SSL.
<VirtualHost *:443>
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName panel.FQDNN
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
SSLEngine on
SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2
SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM;^M SSLHonorCipherOrder on
SSLCertificateFile /etc/sentora/configs/ssl/sentora.crt
SSLCertificateKeyFile /etc/sentora/configs/ssl/sentora.pem
SSLCertificateChainFile /etc/sentora/configs/ssl/sentora.crt
</VirtualHost>
you need to replace : ServerName panel.FQDNN with your panel sub domain you had setup.
You will notice we need 3 files here for your SSL ( you can change the path if you want):
SSLCertificateFile /etc/sentora/configs/ssl/sentora.crt
SSLCertificateKeyFile /etc/sentora/configs/ssl/sentora.pem
SSLCertificateChainFile /etc/sentora/configs/ssl/sentora.crt
Once this config file setup.
You can include it in the main apache conf file would be last one after all previous sentora include files.
Once you do the setup and add this file your panel can be accessed using 80 & port 443 under HTTPS on the same time. Up to you then using a .htaccess to enforce https or leave it.
Would this be ok & clear?
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask
200$ free to start your VPS 60 days credit
How to ask
200$ free to start your VPS 60 days credit