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.

SSL Ports 443 Kills Apache?
#11
RE: SSL Ports 443 Kills Apache?
(02-10-2015, 05:17 PM)JD1pinoy Wrote: comment the "Listen Port 443" in /etc/httpd/conf.d/ssl.conf. if you're going to run ssl using Apache Admin module functionality. This will solve your issue.  If you do not want to touch the SSL.CONF, might as well manually create a SSL-VHOST.CONF and include this in your Sentora HTTPS.CONF.

I will post a new guide soon, an update from my ZPanel 10.0.2 setting to new Sentora.

we do comment Good antivirus for linux BUT if you add new domain your comment gets removed, also after some time when demon runs again it gets removed. not too safe for production server

hopefully this is fixed in release version
Reply
Thanks given by:
#12
RE: SSL Ports 443 Kills Apache?
Search the forum I already posted a clean guide to install SSL without using this over ride issues BUT you have to go manual.

See:

http://forums.sentora.org/showthread.php?tid=496
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#13
RE: SSL Ports 443 Kills Apache?
You do not comment the 443 that was created in Sentora VHOST coz that will be re-generated if there will be a new entry and after the daemon runs.

I am referring to SSL.CONF Listen Port created by the default open SSL not the one with Sentora VHOST.

(See SSL default configuration in CentOS path)
/etc/httpd/conf.d/ssl.conf



Code:
LoadModule ssl_module modules/mod_ssl.so

#
# When we also provide SSL we have to listen to the
# the HTTPS port in addition.
#
Listen 443

##
##  SSL Global Context

If you comment that default Listen 443, there will be no issue on adding another port 443 entry on Sentora VHOST that will be created inside Sentora settings.
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Reply
Thanks given by: alexus
#14
RE: SSL Ports 443 Kills Apache?
I have the same problem here ...

Displaying the error when reseted apache.

Code:
root@host:~# sudo service apache2 restart
* Restarting web server apache2                                                (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
                                                                         [fail]
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
root@host:~#
Reply
Thanks given by:
#15
RE: SSL Ports 443 Kills Apache?
Are you using Ubuntu? (sorry I don't have Ubuntu installed here)
Can you give it a try,
can you search for /etc/apache2/ports.conf or /etc/httpd/conf.d/ssl.conf?

Search for the line Listen 443 then comment it.

After you've comment the line, restart your Apache service. then check the bind notification if it still appears.
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Reply
Thanks given by:
#16
RE: SSL Ports 443 Kills Apache?
Yes, use ubuntu.
Check the directory:
[Image: UMjUdVS.png]
Reply
Thanks given by:
#17
RE: SSL Ports 443 Kills Apache?
Found:
/etc/apache2/ports.conf_disabled_by_sentora

Code:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Reply
Thanks given by:
#18
RE: SSL Ports 443 Kills Apache?
Really a bug.

What changes need to do in port.conf?
Reply
Thanks given by:
#19
RE: SSL Ports 443 Kills Apache?
To comment the line, you need to put a number sign (#)
eg: # Listen 443

I hope that helps you Smile
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Reply
Thanks given by:
#20
RE: SSL Ports 443 Kills Apache?
Ok Ubuntu is confusing me... (not much of Ubuntu and I am more on CentOS, much easier to configure IMO)

I'll fire up a Ubuntu 14.04 or 12s and see how SSL works on this OS.

Give me sometime and I'll post back for solution, or wait for other support/dev to assist you.
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 15 ,938 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 9 ,337 12-23-2020, 03:31 PM
Last Post: djkashdui1
SSL install breaks apache service EGOSKY123 1 4 ,580 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 2 Guest(s)