|
@@ -40,7 +40,7 @@ The trojan role SHALL use certbot to obtain a TLS certificate for the landing se
|
|
|
#### Scenario: Certificate auto-renewal
|
|
#### Scenario: Certificate auto-renewal
|
|
|
- **WHEN** the certificate is within 30 days of expiry
|
|
- **WHEN** the certificate is within 30 days of expiry
|
|
|
- **THEN** certbot renews it automatically via systemd timer or cron
|
|
- **THEN** certbot renews it automatically via systemd timer or cron
|
|
|
-- **THEN** a deploy-hook copies the renewed certs to `/etc/trojan-go/tls/`
|
|
|
|
|
|
|
+- **THEN** a deploy-hook in `/etc/letsencrypt/renewal-hooks/post/` copies the renewed certs to `/etc/trojan-go/tls/`
|
|
|
- **THEN** the Trojan service is reloaded after renewal
|
|
- **THEN** the Trojan service is reloaded after renewal
|
|
|
|
|
|
|
|
### Requirement: Trojan listens on port 443 with TLS
|
|
### Requirement: Trojan listens on port 443 with TLS
|