New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

Apache SSL problem.

Started by ally, March 29, 2018, 02:21:27 PM

Previous topic - Next topic

ally

Hello CWP community,

I want to enable the SSL supporting for the centos server powered by CWP pane.
From WebServers page I see that the apache is configured to work with both ports 80/443

https://www.screencast.com/t/vwHRIHyLnTzE

But in SSL Cert Manager I see message:

'Looks like your port 443 is NOT enabled in apache/httpd configuration!'
Whenewer I tried to enable SSL manually by adding
listen 443 into /usr/local/apache/conf.d/ssl.conf I got:

AH00526: Syntax error on line 4 of /usr/local/apache/conf.d/ssl.conf:
Cannot define multiple Listeners on the same IP:port

Would be glad for any help.

Igor S.

Hello.

Just install SSL certificate via CWP: Apache settings => SSL Cert Manager.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

ally

#2
Hello,

I have tried to install the SSL via "Apache settings => SSL Cert Manager".
https://www.screencast.com/t/4RbHivPUGa

The Let's Encrypt SSL was issued but apache still working just only on the 80 port, below output of the netstat:

[root@jurist ~]# netstat -ntpl | grep http
tcp        0      0 :::80                       :::*                        LISTEN      29115/httpd

also apache reloading did not help.


Igor S.

Hi, that's weird.
Try to add
Listen 443
in /usr/local/apache/conf.d/ssl.conf

And check if you have not installed Apache from yum repo



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

ally

When I added:
Listen 443
into /usr/local/apache/conf.d/ssl.conf file I got:



/usr/local/apache/bin/httpd -S
AH00526: Syntax error on line 4 of /usr/local/apache/conf.d/ssl.conf:
Cannot define multiple Listeners on the same IP:port

The file ssl.conf looks like:


<IfModule !ssl_module>
        LoadModule ssl_module modules/mod_ssl.so
        </IfModule>
        Listen 443
        SSLProtocol All -SSLv2 -SSLv3
        SSLHonorCipherOrder on
        SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

Regarding:
QuoteAnd check if you have not installed Apache from yum repo

yum info cwp-httpd-2.4.29-2.x86_64
Installed Packages
Name        : cwp-httpd
Arch        : x86_64
Version     : 2.4.29
Release     : 2
Size        : 26 M
Repo        : installed
From repo   : cwp
Summary     : Apache httpd server
URL         : http://centos-webpanel.com
License     : Proprietary License
Description : Apache Web Server builded for CWP


So apache was installed from cwp repo.


studio4host

try to delete this file and then from cwp install certificate, it will autocreate a new file with correct settings
rm -f /usr/local/apache/conf.d/ssl.conf

if this doesn't help do also this
rm -f /usr/local/apache/conf/httpd.conf

and then reinstall cwp-httpd to get a new config
yum reinstall cwp-httpd
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

ally

Hello,

The problem was resolved after reinstalling cwp-httpd.
Thanks @studio4host for your help!

Best Regards
Ally L.
http://www.webhostingzone.org/