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
I think we may add it to next installer? Issue with let's encrypt it work only with public servers not intranet and local servers as it need to validate the url using a hash place on the webserver.

We can check too if url public then enable let's encrypt no? @[5050]
(01-25-2016, 03:13 AM)Me.B Wrote: [ -> ]I think we may add it to next installer? Issue with let's encrypt it work only with public servers not intranet and local servers as it need to validate the url using a hash place on the webserver.

We can check too if url public then enable let's encrypt no? @[5050]

That sounds like a great idea! It took me less than 5 minutes to set it up so it's really simple. (This coming from a Windows guy LOL).
You can skip the port 80 bind by using the --webroot option.
can this also be used for wordpress websites? personally i would like to secure all my sites on a server controlled by sentora.
(01-26-2016, 10:16 AM)warmax356 Wrote: [ -> ]can this also be used for wordpress websites? personally i would like to secure all my sites on a server controlled by sentora.

This tutorial is for Secure Sentora Login, not for individual domains.
I'll make up a revised version of THIS post for Ubuntu and CentOS.
Hi I have follow the step by step but after step :
Code:
service httpd stop ./letsencrypt-auto certonly --standalone -d panel.domain.com service apache2 start

I found and error :
Code:
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 no listening sockets available, shutting down Unable to open logs

And I was unable to access Sentora Panel because httpd service still stop
Code:
httpd is stopped

Can anyone help?
Just solve the case ...
Because I am using centos 6 the letsencrypt are not stable and must include --debug mode for generate ceritificate
so code should
Code:
./letsencrypt-auto certonly --standalone -d panel.domain.com --debug
I followed it all the way to the last step and I got :
Code:
Daemon run complete! (21:23 28th Jan 2016 CST) root@panel:~/letsencrypt# service apache2 restart Syntax error on line 29 of /etc/sentora/configs/apache/httpd-vhosts.conf: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information.   ...fail!

line 29:
29  SSLEngine on

Code:
Syntax error on line 30 of /etc/sentora/configs/apache/httpd-vhosts.conf: SSLCertificateFile: file '/etc/letsencrypt/live/panel.zu-webhosting.tk/cert.pem' does not exist or is empty Action 'configtest' failed. The Apache error log may have more information.   ...fail! root@panel:~/letsencrypt#


now I can't get to my panel
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...?
(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...?

Code:
root@panel:~# apt-get install openssl -y Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up udev (175-0ubuntu9.10) ... start: Job failed to start invoke-rc.d: initscript udev, action "restart" failed. dpkg: error processing udev (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: udev E: Sub-process /usr/bin/dpkg returned an error code (1)
Pages: 1 2 3 4 5