RE: Lets Encrypt SSL - not working yet
01-11-2016, 02:33 AM
(This post was last modified: 01-11-2016, 02:39 AM by Skippy.)
I was trying to work along with "http://docs.sentora.org/?node=21"
openssl version gives OpenSSL 1.0.1f 6 Jan 2014
However edits I am making on http://njoror.squashedfly.eu/?module=apa...acheConfig are not being reflected in /etc/sentora/configs/apache/httpd-vhosts.conf even when clicking Force Update and running -- remember that the content of Apache VHOST Conf should be
- Do not empty it… by accident
the code is now
And now I get "This webpage is not available ERR_CONNECTION_REFUSED" on port 80 and https,
Output of config test was:
openssl version gives OpenSSL 1.0.1f 6 Jan 2014
However edits I am making on http://njoror.squashedfly.eu/?module=apa...acheConfig are not being reflected in /etc/sentora/configs/apache/httpd-vhosts.conf even when clicking Force Update and running -- remember that the content of Apache VHOST Conf should be
Code:
/etc/sentora/configs/apache/httpd-vhosts.conf
Code:
php -q /etc/zpanel/panel/bin/daemon.php
service apache2 restart
the code is now
Code:
# Configuration for Sentora control panel on 443
NameVirtualHost *:443
Listen 443
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLEngine on
SSLProtocol SSLv3
SSLCertificateFile /etc/letsencrypt/live/njoror.squashedfly.eu/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/njoror.squashedfly.eu/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/njoror.squashedfly.eu/fullchain.pem
# SSLCertificateChainFile /etc/letsencrypt/live/njoror.squashedfly.eu/chain.pem # try this first
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName njoror.squashedfly.eu
ServerAlias njoror.squashedfly.eu
And now I get "This webpage is not available ERR_CONNECTION_REFUSED" on port 80 and https,
Output of config test was:
Code:
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/sentora/configs/apache/httpd-vhosts.conf:28
AH00526: Syntax error on line 29 of /etc/sentora/configs/apache/httpd-vhosts.conf:
Listen cannot occur within <VirtualHost> section
Action 'configtest' failed.
The Apache error log may have more information.