01-29-2016, 02:43 PM
01-29-2016, 02:43 PM
(01-29-2016, 01:45 PM)TGates Wrote: [ -> ]Sounds like mod_ssl is not isntalled as per this part of the directions:I updated my profile to "both ubuntu 12.04/centos 6.7"
Check to make sure mod_ssl is installed:
On Sentora Panel go to Admin -> PHPinfo -> View Full PHP Configuration -> Search for mod_ssl
If not, install it:
NOTICE: For CentOS replace apt-get with yum
Code:
Not too mention according to your server profile you should be using service https restart if you are using CentOS...?Code:apt-get install openssl
[attachment=388]
01-29-2016, 02:50 PM
(01-29-2016, 02:43 PM)TGates Wrote: [ -> ]Thanks for updating your profile too
HmmmLooking into it... Have you customized your installation in any way before using this tutorial?
No customization fresh install.
I'm using proxmox ( https://www.proxmox.com/en/ ) with lxc container.Ubuntu 12.04
If I pm you my login and ssh details can you debug the situation?
01-29-2016, 02:51 PM
Code:
The Apache error log may have more information.01-29-2016, 02:59 PM
(01-29-2016, 02:51 PM)TGates Wrote: [ -> ]So, what info is showing in the apache error log?Code:The Apache error log may have more information.
Too late now I restored my snapshot to start all over. If I pm you my details can you try and install it and debug. It might help someone.
01-29-2016, 03:05 PM
I'll take a quick look. Send over the details.
01-29-2016, 03:09 PM
(01-29-2016, 03:05 PM)TGates Wrote: [ -> ]I'll take a quick look. Send over the details.
check your pm
01-31-2016, 07:02 PM
Just want to help add more security and get an A+ ranking on the following SSL cert testing site https://www.ssllabs.com/ssltest on a CentOS 7 server :
Credit to the guys that helped with this : https://cipherli.st/
The first part of the guide will require you to configure some things via SSH, so go ahead and log into your server via SSH.
Edit ssl.conf :
Find LogLevel warn
add after:
Search for SSLProtocol all -SSLv2 :
Replace it with it commented out :
Search for SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA :
Replace it with it commented out :
Now simply go back to your control panel and go to : admin > Module Admin > Apache Config > Global Sentora Entry
Add the following AFTER your SSL certs :
Go back to your server and run a quick reset and update the daemon :
Now test your domain over at SSLlabs :
https://www.ssllabs.com/ssltest/
Credit to the guys that helped with this : https://cipherli.st/
The first part of the guide will require you to configure some things via SSH, so go ahead and log into your server via SSH.
Edit ssl.conf :
Code:
vi /etc/httpd/conf.d/ssl.confFind LogLevel warn
Code:
/LogLevel warnadd after:
Code:
#https://cipherli.st/
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
Header always set X-Frame-Options DENY
Header always set X-Content-Type-Options nosniff
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
#SSLCompression off
#SSLSessionTickets Off
#SSLUseStapling on
#SSLStaplingCache "shmcb:logs/stapling-cache(150000)"Search for SSLProtocol all -SSLv2 :
Code:
/SSLProtocol all -SSLv2Replace it with it commented out :
Code:
#SSLProtocol all -SSLv2Search for SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA :
Code:
/SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEAReplace it with it commented out :
Code:
#SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEANow simply go back to your control panel and go to : admin > Module Admin > Apache Config > Global Sentora Entry
Add the following AFTER your SSL certs :
Code:
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
Header always set X-Frame-Options DENY
Header always set X-Content-Type-Options nosniff
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
#SSLCompression off
#SSLSessionTickets Off
#SSLUseStapling on
#SSLStaplingCache "shmcb:logs/stapling-cache(150000)"Go back to your server and run a quick reset and update the daemon :
Code:
php -q /etc/sentora/panel/bin/daemon.php && service httpd restartNow test your domain over at SSLlabs :
https://www.ssllabs.com/ssltest/
02-01-2016, 05:20 AM
Updated first post with new Global Sentora Vhost Entry. Gives Apache 2.4 an 'A' rating.
May need to be tweaked to work on Apache 2.2+
May need to be tweaked to work on Apache 2.2+
04-14-2016, 12:17 AM
Tip after doing this you might wanna add a panel subdomain and add a port overide to it so when you visit panel.domain.tld you wil be the on https and not http

Looking into it... Have you customized your installation in any way before using this tutorial?