Formatting fixes for letsencrypt

This commit is contained in:
Tim Sogard 2018-05-30 13:46:40 -04:00
parent 53fc155a7f
commit 5b5ab99aa7
1 changed files with 2 additions and 2 deletions

View File

@ -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