Add option to use alernative CA server for certbot
This could be achieved using the haproxy_ssl_letsencrypt_setup_extra_params variable, but this makes it a bit neater. Change-Id: Iee2d5a10e1762b23fcb3f3140950c76a754743b7
This commit is contained in:
parent
27efcbd7bd
commit
800254b354
@ -170,6 +170,8 @@ haproxy_ssl_letsencrypt_acl:
|
||||
letsencrypt-acl:
|
||||
rule: "path_beg /.well-known/acme-challenge/"
|
||||
backend_name: letsencrypt
|
||||
# Use alternative CA that supports ACME, can be a public or private CA
|
||||
# haproxy_ssl_letsencrypt_certbot_server: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
|
||||
# hatop extra package URL and checksum
|
||||
haproxy_hatop_download_url: "https://github.com/jhunt/hatop/archive/v0.8.0.tar.gz"
|
||||
|
@ -76,6 +76,9 @@
|
||||
--rsa-key-size 4096
|
||||
--email {{ haproxy_ssl_letsencrypt_email }}
|
||||
--domains {{ haproxy_bind_external_lb_vip_address }}
|
||||
{% if haproxy_ssl_letsencrypt_certbot_server is defined %}
|
||||
--server {{ haproxy_ssl_letsencrypt_certbot_server }}
|
||||
{% endif %}
|
||||
{% if haproxy_ssl_letsencrypt_certbot_challenge == 'http-01' %}
|
||||
--http-01-port {{ haproxy_ssl_letsencrypt_certbot_backend_port }}
|
||||
--http-01-address {{ haproxy_ssl_letsencrypt_certbot_bind_address }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user