Sentora SSL install problem
#4
RE: Sentora SSL install problem
(05-25-2015, 02:34 AM)clu55ter Wrote: Take a look at this article.
http://blogs.tanertemel.co.uk/2015/04/en...ecure.html

That was indeed a very clear and useful post. But the httpd fails to restart and complains about the port is busy. I have encountered this before when 2 configs on the system were both listening on port 443,

Code:
-- Unit httpd.service has begun starting up. May 24 15:53:26 panel.xxxxxxxx.net httpd[4420]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 May 24 15:53:26 panel.xxxxxxxx.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE May 24 15:53:26 panel.xxxxxxxx.net kill[4421]: kill: cannot find process "" May 24 15:53:26 panel.xxxxxxxx.net systemd[1]: httpd.service: control process exited, code=exited status=1 May 24 15:53:26 panel.xxxxxxxx.net systemd[1]: Failed to start The Apache HTTP Server.

But now I can't figure out what is causing this problem. netstat -tulpn does not show port 443 open when httpd service is stopped (duh), so somehow it must be trying to open the port twice. The httpd service spins up when I bring back the original httpd-vhost.conf file and fail again when overwriting it from the Sentora Apache module.

Sentora is installed in panel.mydomain.com, and the SSL-cert is for mydomain.com, which I also choose to "Override a Virtual Host setting". I have tried to point to the SSL-cert in the httpd's ssl.conf, but then it fails to go to the correct home dir of the domain. Port 80 goes fine to mydomain.com/index.html but the SSL on port 443 only goes to the Apache default page.  

Any ideas?

UPDATE:
I commented out the listening on port 443 in /etc/httpd/conf.d/ssl.conf and it stopped complaining about open ports, and instead gave me this quite plain error message Undecided


Code:
May 24 16:51:51 panel.xxxxxxxx.net systemd[1]: Starting The Apache HTTP Server... May 24 16:51:51 panel.xxxxxxxx.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE May 24 16:51:51 panel.xxxxxxxx.net kill[5412]: kill: cannot find process "" May 24 16:51:51 panel.xxxxxxxx.net systemd[1]: httpd.service: control process exited, code=exited status=1 May 24 16:51:51 panel.xxxxxxxx.net systemd[1]: Failed to start The Apache HTTP Server. May 24 16:51:51 panel.xxxxxxxx.net systemd[1]: Unit httpd.service entered failed state.

UPDATE 2:
Ok I just discovered that https://www.mydomain.com brings the browser to the correct public_html, but https://mydomain.com brings up the Apache default page. This is so wierd.
Reply


Messages In This Thread
Sentora SSL install problem - by bl4cksta - 04-18-2015, 05:44 AM
RE: Sentora SSL install problem - by Me.B - 04-19-2015, 11:50 PM
RE: Sentora SSL install problem - by clu55ter - 05-25-2015, 02:34 AM
RE: Sentora SSL install problem - by Ubiquitous - 05-25-2015, 06:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,385 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 472 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,724 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)