Allow ACME validation from step-ca to cache
This commit is contained in:
parent
e5a23593bf
commit
9cee243af6
1 changed files with 6 additions and 0 deletions
|
@ -137,6 +137,12 @@ class cdn::cache(
|
|||
$dash_split = split($my_hostname,'[-]')
|
||||
$environment = $dash_split[2]
|
||||
|
||||
sunet::nftables::allow { 'allow-step-ca-acme':
|
||||
from => '89.45.237.248', # internal-sto3-test-ca-1.cdn.sunet.se
|
||||
port => 80,
|
||||
proto => 'tcp',
|
||||
}
|
||||
|
||||
# Get client cert for connecting to MQTT bus
|
||||
exec { "certbot certonly -n --email patlu@sunet.se --no-eff-email --agree-tos --standalone -d ${my_fqdn} --server ${acme_url[$environment]} --http-01-address ${facts['networking']['ip']}":
|
||||
creates => "/etc/letsencrypt/live/${my_fqdn}/fullchain.pem"
|
||||
|
|
Loading…
Add table
Reference in a new issue