Resolve Certbot Permission Issues on Linux

Job ID: 39070605

Budget: $10 – $30 USD

I'm facing a permission error while executing Certbot on my Linux server.

The web server in use is Apache.

This issue is hindering my efforts to secure my site with SSL.

when i execute to certbot renew, appear this issue:

Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/my-domain.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
An error occurred determining the OCSP status of /etc/letsencrypt/archive/natutech.online/cert3.pem.
Account registered.
Simulating renewal of an existing certificate for my-domain and www.my-domain

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:

Domain: my-domain
Type: unauthorized
Detail: 00.000.00.000: Invalid response from http://my-domain/.well-known/acme-challenge/PftGyQiIHgXiweuw2hjdyrts-V9x9T0pbFj36TI: 404

Domain: my-domain
Type: unauthorized
Detail: 00.000.00.000: Invalid response from http://my-domain/.well-known/acme-challenge/PftGyQiIHgXiweuw2hjdyrts-V9x9T0pbFj36TI: 404

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Related categories: PHP System Admin Linux Apache Nginx