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.

Help me! how to remove ssl certificate
#1
Help me! how to remove ssl certificate
Hi,

I install module ssl for VPS use Sentora...however, after install module, Sentora not run and service httpd not start. please help me? thank

this error: 

[root@zpanel ~]# service httpd status
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2018-07-04 07:03:49 UTC; 18h ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 2451 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 2450 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 2450 (code=exited, status=1/FAILURE)

Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: Starting The Apache HTTP Server...
Jul 04 07:03:49 zpanel.devfastpro.com httpd[2450]: AH00526: Syntax error on line 57 of /etc/sentora/configs/apache/httpd-vhosts.conf:
Jul 04 07:03:49 zpanel.devfastpro.com httpd[2450]: SSLCertificateKeyFile: file '/devfastpro.com/ssl/certificate/private.key' does not exist or is empty
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 04 07:03:49 zpanel.devfastpro.com kill[2451]: kill: cannot find process ""
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: Failed to start The Apache HTTP Server.
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: Unit httpd.service entered failed state.
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: httpd.service failed.
Reply
Thanks given by:
#2
RE: Help me! how to remove ssl certificate
I am getting the same error. My site also shows "connection refused" and its so annoying.
Reply
Thanks given by:
#3
RE: Help me! how to remove ssl certificate
The error is:

Quote:SSLCertificateKeyFile: file '/devfastpro.com/ssl/certificate/private.key' does not exist or is empty

Do you not have a certificate? Or is it in the wrong location?

To fix, you will need to manually edit /etc/sentora/configs/apache/httpd-vhosts.conf and remove the lines related to the SSL certificate. This will get apache running again. Then, you must go to Admin > Module Admin > Apache Config > Override a vurtualhost and delete the SSL data there too so that it does not re-add it to your httpd-vhosts.conf
-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
Centos 7 | Postfix and Dovecot SSL/TLS with StartSSL certificate paknet 6 40 ,222 06-13-2016, 08:40 PM
Last Post: usong725
How to set up SSL certificate (not self-signed) on virtual host on Ubuntu? hotshot 14 56 ,099 07-10-2015, 04:10 AM
Last Post: stiuvert0007
Ubuntu: How To Create a SSL Certificate Diablo925 5 18 ,868 01-25-2015, 10:02 AM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)