Control Web Panel

WebPanel => SSL => Topic started by: uzikills on January 16, 2018, 06:17:58 AM

Title: Invalid certificate/key pair and Apache server fails to start
Post by: uzikills 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?
Title: Re: Invalid certificate/key pair and Apache server fails to start
Post by: PavelZh 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
Title: Re: Invalid certificate/key pair and Apache server fails to start
Post by: rajanxsingh on October 06, 2018, 02:57:34 PM
Did you get the solution to this ?? Am getting the same issue
Title: Re: Invalid certificate/key pair and Apache server fails to start
Post by: bullten on October 08, 2018, 04:27:51 AM
what is output of

Code: [Select]
systemctl status httpd.service -l
Title: Re: Invalid certificate/key pair and Apache server fails to start
Post by: Steve007iii on November 03, 2018, 09:17:24 AM
I have the same trouble  :P