File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ sudo certbot certonly --standalone -d your-domain.com
5858``` sh
5959sudo cp /etc/letsencrypt/live/your-domain.com/fullchain.pem certs/cert.pem
6060sudo cp /etc/letsencrypt/live/your-domain.com/privkey.pem certs/key.pem
61- sudo chown $USER :$USER certs/* .pem
6261```
6362
6463### Automatic Renewal Setup
@@ -110,22 +109,6 @@ sudo certbot certificates
110109- Stop all services using these ports before running certbot
111110- Use ` sudo netstat -tlnp | grep :80 ` to find processes using port 80
112111
113- ** Permission issues:**
114- - Ensure the ` certs ` directory exists and has correct permissions
115- - Use ` sudo chown $USER:$USER certs/*.pem ` after copying certificates
116-
117112** Domain validation fails:**
118113- Ensure your domain points to the server's IP address
119- - Check firewall settings allow traffic on port 80
120-
121- ### Alternative Methods
122-
123- ** Using webroot method (if you have a running web server):**
124- ``` sh
125- sudo certbot certonly --webroot -w /var/www/html -d your-domain.com
126- ```
127-
128- ** Using nginx plugin:**
129- ``` sh
130- sudo certbot --nginx -d your-domain.com
131- ```
114+ - Check firewall settings allow traffic on port 80
You can’t perform that action at this time.
0 commit comments