Author Topic: Invalid certificate/key pair and Apache server fails to start  (Read 8295 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Invalid certificate/key pair and Apache server fails to start
« on: January 16, 2018, 06:17:58 AM »
Hello,

I generated a certificate from Security > SSL Generator. I then went to Apache>SSL Manager taking me to the vHost manager. I installed a certificate but get a Invalid Certificate Key/pair (for domain I typed in my website domain). I also get this and Apache webserver fails to start:
Code: [Select]
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
I think above is a syntax error in the apache code.. but this syntax error occurs whenever I try to install a certificate. What can I do?
« Last Edit: January 16, 2018, 06:19:44 AM by uzikills »

Offline
*
Re: Invalid certificate/key pair and Apache server fails to start
« Reply #1 on: January 16, 2018, 08:42:05 AM »
Examine log files in /usr/local/apache/logs/

Open /usr/local/apache/conf.d/vhosts-ssl.conf and verify that parameters

SSLCertificateFile
SSLCertificateKeyFile
(optional) SSLCertificateChainFile

point to right files, files exist and accessible for Apache. Check your key/cert pair using https://www.sslshopper.com/certificate-key-matcher.html
« Last Edit: January 16, 2018, 09:01:09 AM by PavelZh »

Offline
*
Re: Invalid certificate/key pair and Apache server fails to start
« Reply #2 on: October 06, 2018, 02:57:34 PM »
Did you get the solution to this ?? Am getting the same issue

Offline
***
Re: Invalid certificate/key pair and Apache server fails to start
« Reply #3 on: October 08, 2018, 04:27:51 AM »
what is output of

Code: [Select]
systemctl status httpd.service -l

Offline
*
Re: Invalid certificate/key pair and Apache server fails to start
« Reply #4 on: November 03, 2018, 09:17:24 AM »
I have the same trouble  :P