You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Add a New Cert


This will add a new cert using a certbot config that is compatible with the haproxy config template below. After creating the cert, you should run the refresh script referenced below to initialize haproxy to use it. After adding the cert and running the refresh script, no further action is needed.


Request certificate from let's encrypt

 

docker exec haproxy-certbot certbot-certonly --domain example.com --email mail@gmail.com --dry-run 

 

create/update haproxy formatted certs in certs.d and then restart haproxy

docker exec haproxy-certbot haproxy-refresh

After testing the setup, remove --dry-run to generate a live certificate

  • No labels