Browse Source

Remove suffix from letsencrypt renew

The suffix is added automatically by certbot if there is already a configuration for
domain passed as argument.

Change-Id: I7440b84648bf58c36dcb262920c876c7d1a5efa4
Ionuț Bîru 1 month ago
parent
commit
c86ec47b4b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/letsencrypt_renew.j2

+ 1
- 1
templates/letsencrypt_renew.j2 View File

@@ -5,7 +5,7 @@ certbot renew \
5 5
     --standalone \
6 6
     --pre-hook "systemctl stop haproxy" \
7 7
 
8
-cat /etc/letsencrypt/live/{{ external_lb_vip_address }}-0001/{fullchain,privkey}.pem \
8
+cat /etc/letsencrypt/live/{{ external_lb_vip_address }}/{fullchain,privkey}.pem \
9 9
     > /etc/ssl/private/haproxy.pem
10 10
 
11 11
 systemctl restart haproxy

Loading…
Cancel
Save