Hello there!
I wanted my own website for private reasons and want ofc secured traffic. This is only possible with the help of Let's Encrypt.
The Problem:
I can't autorenew my certificate by a simple command. I have to struggle around to make a new one but it never happens automatically which ofc is pain every month.
What is happening here? Every tutorial about certbot didn't worked. And no, snapd doesn't work on my machine, I don't want it! I had .key and .crt files as my certificate but since it's renewal I have a .pem file, which atleast works but certbot doesn't like this new configuration.
My domain is: fsi-it.de
I ran this command: certbot renew --dry-run
It produced this output:
Error Log
Processing /etc/letsencrypt/renewal/fsi-it.de-0001.conf
Renewal configuration file /etc/letsencrypt/renewal/fsi-it.de-0001.conf is broken.
The error was: expected /etc/letsencrypt/live/fsi-it.de-0001/cert.pem to be a symlink
Skipping.
Processing /etc/letsencrypt/renewal/fsi-it.de.conf
Simulating renewal of an existing certificate for fsi-it.de and 2 more domains
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: cloud.fsi-it.de
Type: unauthorized
Detail: Invalid response from http://cloud.fsi-it.de/.well-known/acme-challenge/0j-48ZT3oZihq8w6vUII2NSNwE1TvvHu_10zeWlwYYQ [87.106.194.87]: "\n\n400 Bad Request\n\n
Bad Request</h1"
Domain: fsi-it.de
Type: unauthorized
Detail: Invalid response from http://fsi-it.de/.well-known/acme-challenge/pHT539zz9RayhOU3Zvo8x1pLbQKzjvrwA-FHkM1hvho [87.106.194.87]: "\n\n400 Bad Request\n\n
Bad Request</h1"
Domain: www.fsi-it.de
Type: unauthorized
Detail: Invalid response from http://www.fsi-it.de/.well-known/acme-challenge/Ub_ayhWg1vHVhZ08ffJXnZVceHTvVvbauhOWSmqDyJ4 [87.106.194.87]: "\n\n400 Bad Request\n\n
Bad Request</h1"
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Failed to renew certificate fsi-it.de with error: Some challenges have failed.
All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/fsi-it.de/fullchain.pem (failure)
Additionally, the following renewal configurations were invalid:
/etc/letsencrypt/renewal/fsi-it.de-0001.conf (parsefail)
1 renew failure(s), 1 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is: Apache2
The operating system my web server runs on is: Ubuntu 20.04.2 LTS
My hosting provider is: 1&1
I can only login with putty on my machine.
The version of my client is: certbot 1.16.0
Thanks in advance