When I deleted the empty space, before 443 the error was gone.
But now I get another error:
Reloading LSB: Apache2 web server.
Jan 17 15:56:37 katbulk apache2[2038]: Reloading web server: apache2 failed!
Jan 17 15:56:37 katbulk apache2[2038]: The apache2 configtest failed. Not doing anything. β¦ (warning).
Jan 17 15:56:37 katbulk apache2[2038]: Output of config test was:
Jan 17 15:56:37 katbulk apache2[2038]: AH00526: Syntax error on line 34 of /etc/apache2/sites-enabled/default-ssl.conf:
Jan 17 15:56:37 katbulk apache2[2038]: SSLCertificateFile: file β/etc/letsencrypt/live/katbulk.hopto.org/cert1.pemβ does not exist or is empty.
Ok, so now I can reload apache.
When I got to the website as usual, nothing changed, I can login and theres no lock. But when I go to https://katbulk.org I get a warning;
This connection is not secure
Your Browser asked to set up a secure connection with katbulk.hopto.org, but we can not confirm that your connection is secure. blabla
Well, thatβs good anywayβ¦ And itβs the good certificate for katbulk.hopto.org (not katbulk.org though, that domain doesnβt even existβ¦) Only it doesnβt send the LE intermediate certificate.
What version of Apache do you have? If you have 2.4.8 or newer, you should point to fullchain.pem instead of cert.pem (fullchain.pem is just cert.pem+chain.pem in one file).
If older, then you should add: SSLCertificateChainFile /etc/letsencrypt/live/katbulk.hopto.org/chain.pem
to your Apache configuration (just below SSLCertificateFile or something) and leave SSLCertificateFile pointed to cert.pem.