Using Let’s Encrypt is the best way to get free SSL/TLS certificates and their is a client certbot that makes it easy to install and manage all the job of creating and automatically renewing them.
But some Linux users encounter a Permission denied
error when they try to enter into or cd into /etc/letsencrypt/live
directory, where the new certificated are stored.
To make this directory accessible, run:
sudo chmod 755 /etc/letsencrypt/live/
Now the directory will be accessible to you.
Now understand why we encountered this error!
Since most Linux user add a new user to manage the server and make root user inaccessible directly. This blocks the entrance of another user into this directory since the location is accessible to root user only.
Leave a Reply