some updates
This commit is contained in:
parent
e9b2abbfbe
commit
d655ed1d93
1 changed files with 10 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ chmod 750 work
|
||||||
# protect secrets
|
# protect secrets
|
||||||
chmod 700 secrets
|
chmod 700 secrets
|
||||||
chmod 750 challenges
|
chmod 750 challenges
|
||||||
|
chgrp www-data challenges
|
||||||
```
|
```
|
||||||
|
|
||||||
challenges has to be readable by the web server, but this hack can only be done by root
|
challenges has to be readable by the web server, but this hack can only be done by root
|
||||||
|
|
@ -112,6 +113,11 @@ DocumentRoot "/home/acme/challenges"
|
||||||
|
|
||||||
Repeat the VirtualHost for all domains for which you are getting certificates.
|
Repeat the VirtualHost for all domains for which you are getting certificates.
|
||||||
|
|
||||||
|
Enable the acme virtual host
|
||||||
|
```
|
||||||
|
a2ensite acme
|
||||||
|
```
|
||||||
|
|
||||||
Don't forget to restart the Apache server
|
Don't forget to restart the Apache server
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -185,3 +191,6 @@ acme ALL = (root) NOPASSWD: /usr/sbin/service
|
||||||
## Renewal
|
## Renewal
|
||||||
|
|
||||||
You can run the same script as above for certificate renewal.
|
You can run the same script as above for certificate renewal.
|
||||||
|
|
||||||
|
---
|
||||||
|
2023.11.04
|
||||||
Loading…
Add table
Add a link
Reference in a new issue