Sentora Support Forums

Full Version: [SPLIT] Secure Sentora Login with Let's Encrypt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Thanks for updating your profile too Wink

Hmmm Huh  Looking into it... Have you customized your installation in any way before using this tutorial?
(01-29-2016, 01:45 PM)TGates Wrote: [ -> ]Sounds like mod_ssl is not isntalled as per this part of the directions:

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:
Code:
apt-get install openssl
Not too mention according to your server profile you should be using service https restart if you are using CentOS...?
I updated my profile to "both ubuntu 12.04/centos 6.7"
[attachment=388]
(01-29-2016, 02:43 PM)TGates Wrote: [ -> ]Thanks for updating your profile too Wink

Hmmm Huh  Looking 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?
Code:
The Apache error log may have more information.
So, what info is showing in the apache error log?
(01-29-2016, 02:51 PM)TGates Wrote: [ -> ]
Code:
The Apache error log may have more information.
So, what info is showing in the apache error log?

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.
I'll take a quick look. Send over the details.
(01-29-2016, 03:05 PM)TGates Wrote: [ -> ]I'll take a quick look. Send over the details.

check your 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 :

Code:
vi /etc/httpd/conf.d/ssl.conf

Find LogLevel warn

Code:
/LogLevel warn

add 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 -SSLv2

Replace it with it commented out :

Code:
#SSLProtocol all -SSLv2

Search for SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA :

Code:
/SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA

Replace it with it commented out :

Code:
#SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA

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 :

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 restart

Now test your domain over at SSLlabs :

https://www.ssllabs.com/ssltest/
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+
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
Pages: 1 2 3 4 5