Error renewing certificate

Hi, I have problem trying to renew certificate on my server.
I've received such error message:

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: mail.domain.com
Type: unauthorized
Detail: Invalid response from http://mail.domain.com/.well-known/acme-challenge/YWCQsuJcIsEyFIeKW8mljDvcoe5HSmII_RddMSiG3ZA [ip_address]: "\n\n400 Bad Request\n\n

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.

Could not find the solution when I tried to google it.

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.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

6 posts were split to a new topic: Can't renew certificate