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.

Sentora SSL install problem
#1
Sentora SSL install problem
Hi all,

I've tried to install my own ssl certificate (premium ssl - comodo) for 5 days.I know there are many different ways to install ssl but I've tried many of them and both side has got an error.Firstly, I've tried to add my certificates from sentora panel after that I've tried to add them to ssl.conf file manually.

Are there any working example or tutorial about them?

Thanks and best regards.
Kaan
Reply
Thanks given by:
#2
RE: Sentora SSL install problem
Check how to section!
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:
#3
RE: Sentora SSL install problem
Take a look at this article.
http://blogs.tanertemel.co.uk/2015/04/en...ecure.html
Reply
Thanks given by:
#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
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,981 12-17-2022, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,353 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,594 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)