My domain is: app.montor.site
I ran this command: sudo certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 2 3
Requesting a certificate for app.montor.site and www.app.montor.site
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Detail: Invalid response from http://app.montor.site/.well-known/acme-challenge/moHHK_-6hsZK5c-oooU0RxALF44XXRdthj64w7JFH-Y [18.104.22.168]: "\n\n404 Not Found\n\n
Detail: Invalid response from http://www.app.montor.site/.well-known/acme-challenge/dDiIAm59t9xijElLNEbBlPMMzTxHtENSDqB8Zmgi_gs [22.214.171.124]: "\n\n404 Not Found\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.
Some challenges have failed.
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 (include version): Apache 2.4.41
The operating system my web server runs on is (include version): Ubuntu 20.04
I can login to a root shell on my machine (yes or no, or I don't know): yes
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): certbot 1.17.0
Also I found out that when i create verification file manually - site does not see it. Thanks in advance