Sentora Support Forums
ALL SITES DOWN AFTER SSL CHANGE - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: ALL SITES DOWN AFTER SSL CHANGE (/showthread.php?tid=2916)



ALL SITES DOWN AFTER SSL CHANGE - kevq - 06-29-2016

Hi guys,

I'm trying to enable SSL on one particular site, so I followed this guide from the wiki:

http://docs.sentora.org/?node=64

I did everything as required, however all of my sites are now down. Literally everything, even sentora. When I try a httpd restart from SSH, I get the following:

Code:
(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 [FAILED]

It's obviously something to do with the changes I've made. However, I don't know what files Sentora adds/changes when creating a custom vhost. Can someone please point me in the right direction of disabling the 443 customisation from the CLI?

Thanks,

Kev


RE: ALL SITES DOWN AFTER SSL CHANGE - kevq - 06-29-2016

***FIXED***

If anyone else has the same problem, I fixed this by editing /etc/sentora/configs/apache/httpd-vhosts.conf, I changed the applicable vhost to port 80 and commented out the listen ports at the top of the file, as shown below:

Code:
NameVirtualHost *:80 # NameVirtualHost *:443 Listen 80 # Listen 443

I'd still like some assistance on getting SSL working for specific websites if at all possible though please guys.


RE: ALL SITES DOWN AFTER SSL CHANGE - TGates - 06-29-2016

The only file Sentora changes is the /etc/sentora/configs/apache/httpd-vhosts.conf
You may need to change some paths, but this is another tutorial: http://forums.sentora.org/showthread.php?tid=2535