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.

ALL SITES DOWN AFTER SSL CHANGE
#1
ALL SITES DOWN AFTER SSL CHANGE
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
Reply
Thanks given by:
#2
RE: ALL SITES DOWN AFTER SSL CHANGE
***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.
Reply
Thanks given by:
#3
RE: ALL SITES DOWN AFTER SSL CHANGE
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
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 1 ,636 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 46 ,333 08-22-2020, 02:49 PM
Last Post: kenzopoker1
slow sites kewldude12 0 2 ,327 07-20-2020, 04:40 AM
Last Post: kewldude12

Forum Jump:


Users browsing this thread: 1 Guest(s)