Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I ran this command: certbot certonly --webroot -w /var/www/html -d ads.optiopay.com
It produced this output:
IMPORTANT NOTES:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/ads.optiopay.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/ads.optiopay.com/privkey.pem
Your certificate will expire on 2021-12-28. To obtain a new or
tweaked version of this certificate in the future, simply run
certbot again. To non-interactively renew all of your
certificates, run "certbot renew"
My web server is (include version): Webmin, LAMP, Debian 11
The operating system my web server runs on is (include version): Debian 11
My hosting provider, if applicable, is: Contabo
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Webmin
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.12.0
There is definitely something weird going on there.
openssl s_client -connect ads.optiopay.com:443 -servername ads.optiopay.com
CONNECTED(00000198)
depth=0 C = DE, ST = Denial, L = Munich, O = Dis, CN = 173.212.240.164
verify error:num=18:self signed certificate
verify return:1
depth=0 C = DE, ST = Denial, L = Munich, O = Dis, CN = 173.212.240.164
verify return:1
Server did acknowledge servername extension.
---
Certificate chain
0 s:/C=DE/ST=Denial/L=Munich/O=Dis/CN=173.212.240.164
i:/C=DE/ST=Denial/L=Munich/O=Dis/CN=173.212.240.164
---
Hey everyone, sorry for the delay in my answer. It actually might have been just a failure on my side in operating. I did not know that Debian 11 equals in Certbot Debian testing / unstable, thats why I choose Certbot - Debianbuster Apache + the command in step 7: certbot --apache
Which led to a failure message, certs were created but the configuration did not work. I don't know why.
It just turnt out after downgrading to Debian 10, doing the same steps with that it worked perfectly