Invalid certificate/key pair and Apache server fails to start

Started by uzikills, January 16, 2018, 06:17:58 AM

Previous topic - Next topic

uzikills

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:
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?

PavelZh

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

rajanxsingh

Did you get the solution to this ?? Am getting the same issue

bullten