SSL INSTALLATION_APACHE RESTART ERROR

I installed a new SSL certificate which required an Apache server restart. When the server attempted to restart it gave notification that the SSL Certificate Key File is missing or empty (syntax error on line 20 of /etc/apache2/sites-enabled/101-minv). The file is there, in the required folder but Apache still says that it is missing or empty (it is not empty, I opened it and the key code is there) and has therefore shut down the site until the file is corrected. Any suggestions or would anyone be interested in being paid to check the SSL install files/references locations on our site?

Thank you

3 Replies

COULD IT BE THE FILE PERMISSIONS TO THE WWW-DATA APACHE USER OR GROUP?

James

Hi James, thanks for responding. Problem has been solved after 3 installation trials with 3 different SSL certificates. I installed the csr & key files into the etc/apache2/ssl folder according to my host's instructions but I had to move them to var/www/tci/ssl because that was where previous ssl files were located. To move the files, I temporarily changed the permissions to 777 & after moving I changed it back to 400. I then deleted this SSL folder. The move may have corrupted the key file, but I examined the key file before and after the move & it was identical. Does the order of placement of the cert files into the SSL folder matter, because I had already placed the .crt & gd-bundle.crt files in the var/www/tci/ssl folder before I moved the csr & key files to this folder? I read cPanel instructions (but I did not use a cPanel to install the SSL) that said that removing a key will remove the csr & crt, but the csr & crt files were visible in this folder after moving the key. The person who helped me with this said that my host's instructions for 2048 key generation could have been the problem and they regenerated the csr/key using their own code, which is when it worked.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct