[solved] Apache wont start after reconfiguring with new ssl cert

  • I-MSCP Version 1.1
    UBUNTU 12.10


    I like 2/3rd of the internet was affected by the heartbleed bug, so I rekeyed my cert and re ran the setup


    # cd /var/www/imscp/engine/setup
    # perl imscp-setup --debug --reconfigure


    setup completes with no errors but apache does not start:


    Code
    1. root@ispcp:/var/log/apache2# /etc/init.d/apache2 start * Starting web server apache2 Action 'start' failed.The Apache error log may have more information. [fail]root@ispcp:/var/log/apache2# tail -n 100 error.log



    Now if i reconfigure and do not use ssl then apache starts, so i know its an issue with the new .crt but not sure what


    I rekeyed the cert by issuing the commands
    openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr


    Then i selected the key file, the bundle and the actual .crt in the setup gui but apache wont load.


    UPDATE SOLVED
    This was my fault I was selecting the wrong private key in the process, so redoing it all from scratch and clearing out the directory with my crts solved my issues.



    Thanks,


    David