I installed the certificate as “isitcracked.com” but I guess it redirects to “www.isitcracked.com” I don’t know how to undo this, start all over and install the certificate to both domains.
We were unable to find a vhost with a ServerName or Address of www.isitcracked.c om.
Which virtual host would you like to choose?
(note: conf files with multiple vhosts are not yet supported)
Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed becaus e the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.
failed!
AH00526: Syntax error on line 231 of /etc/apache2/apache2.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/www.isitcracked.com/fullchain.pem' does not exist or is empty
Action '-t' failed.
The Apache error log may have more information.
Please run certbot certificates and change that line 231 (it should be in the file 000-default-le-ssl.conf) and replace /etc/letsencrypt/live/www.isitcracked.com/fullchain.pem with the certificate path you got from certbot certificates output
Maybe that's because Apache is reporting the raw output? (all files are "included" in the apache2.conf)
OK. I am a bit lost here so could you help me with what you suggest.
Here is certbot certifactes output:
Found the following certs:
Certificate Name: isitcracked.com
Domains: isitcracked.comwww.isitcracked.com
Expiry Date: 2019-02-28 01:15:55+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/isitcracked.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/isitcracked.com/privkey.pem
And there seems to be two different files as “000-default-le-ssl.conf”:
root@isitcracked:~# find /etc -name 000-default-le-ssl.conf
/etc/apache2/sites-enabled/000-default-le-ssl.conf
/etc/apache2/sites-available/000-default-le-ssl.conf