This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Lets Encrypt SSL on main control panel URL.
#3
RE: Lets Encrypt SSL - not working yet
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
Code:
/etc/sentora/configs/apache/httpd-vhosts.conf
- Do not empty it… by accident

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.
Reply
Thanks given by:


Messages In This Thread
RE: Lets Encrypt SSL - not working yet - by Skippy - 01-11-2016, 02:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 22 ,409 02-28-2021, 11:20 AM
Last Post: iraqiboy90
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 9 ,178 12-23-2020, 03:31 PM
Last Post: djkashdui1
PLZ Help me install ssl in my own VPS Centos7 Sentora panel younessesoft 1 4 ,486 05-26-2020, 07:34 PM
Last Post: 5050

Forum Jump:


Users browsing this thread: 4 Guest(s)