Question

how to renew ssl certificates?

  • Posted July 27, 2014

I have a ssl certificate on a domain. Now, I need to renew the security keys. My server is apache. I will replace the certificates, but now does not want to restart apache.

The error:

~# sudo service apache2 restart
 * Restarting web server htcacheclean                                                                                                                                                                                             ...not running
[Sun Jul 27 21:47:38 2014] [warn] module cache_module is already loaded, skipping
[Sun Jul 27 21:47:38 2014] [warn] module cache_module is already loaded, skipping
Action 'start' failed.
The Apache error log may have more information.

The apache log error: http://pastie.org/private/wile3vp1wxn5m3pbdfjzw

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

now, this is appear

~# sudo /etc/init.d/apache2 restart
 * Restarting web server htcacheclean                                           ...not running
[Sun Jul 27 23:01:13 2014] [warn] module cache_module is already loaded, skipping
[Sun Jul 27 23:01:13 2014] [warn] module cache_module is already loaded, skipping
... directory /var/cache/apache2/mod_disk_cache does not exist!
                                                                         [fail]

Have you already renewed your SSL certificates? It looks like the private key was overwritten so now the certificate does not match it and Apache won’t start as a result.

If you have generated a new CSR, the private key was most likely replaced as well, so the only option you have is to renew the SSL certificate as soon as possible.