Formatting fixes for letsencrypt
This commit is contained in:
parent
53fc155a7f
commit
5b5ab99aa7
|
@ -45,7 +45,7 @@ At this point you should see certbot making a number of challenges (domain owner
|
|||
|
||||
4) Backup the current certificate:
|
||||
```
|
||||
cp /etc/haproxy/certs/git.services.wit.com{,.bak.$(date +%s)}
|
||||
cp /etc/haproxy/certs/git.services.wit.com.pem{,.bak.$(date +%s)}
|
||||
```
|
||||
|
||||
5) Combine the certificate chain and the private key. HAProxy requires a full certificate chain+key for its SSL configuration:
|
||||
|
@ -53,7 +53,7 @@ cp /etc/haproxy/certs/git.services.wit.com{,.bak.$(date +%s)}
|
|||
```
|
||||
cat /etc/letsencrypt/live/git.services.wit.com/fullchain.pem \
|
||||
/etc/letsencrypt/live/git.services.wit.com/privkey.pem \
|
||||
> /etc/haproxy/certs/git.services.wit.com.pem`
|
||||
> /etc/haproxy/certs/git.services.wit.com.pem
|
||||
```
|
||||
|
||||
6) Reload HAproxy
|
||||
|
|
Loading…
Reference in New Issue