Skip to content

Commit 39145f5

Browse files
committed
Add instructions to renew certificates with certbot
1 parent 232d476 commit 39145f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

application/cert/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
```
1010
dnf -y install certbot
11-
sudo certbot certonly --standalone
11+
certbot certonly --standalone -d www.domain.com -d domain.com -m your.name@domain.com --agree-tos --no-eff-email
12+
yes | cp /etc/letsencrypt/live/domain.com/fullchain.pem ~/domain.com/application/cert/cert.pem
13+
yes | cp /etc/letsencrypt/live/domain.com/privkey.pem ~/domain.com/application/cert/key.pem
1214
```
1315

14-
or
16+
Or use impress web server for challenge exchange:
1517

1618
```
17-
curl -O https://dl.eff.org/certbot-auto
18-
chmod a+x certbot-auto
19-
./certbot-auto certonly
19+
certbot certonly --webroot -w ~/domain.com/application/static -d www.domain.com -d domain.com -m your.name@domain.com --agree-tos --no-eff-email
2020
```
2121

2222
## Self-signed (for testing)

0 commit comments

Comments
 (0)