Deploy `dhparams_4096.pem` & `ticket.key`.
This commit is contained in:
parent
37e11592cd
commit
28053a2c37
|
@ -1,6 +1,8 @@
|
||||||
remote_file "/etc/letsencrypt/live/#{node['blog']['FQDN']}/dhparams_4096.pem" do
|
remote_file "/etc/lego/dhparams_4096.pem" do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
|
mode '444'
|
||||||
end
|
end
|
||||||
|
|
||||||
execute "openssl rand 48 > /etc/letsencrypt/live/#{node['blog']['FQDN']}/ticket.key"
|
execute "openssl rand 48 > /etc/lego/ticket.key"
|
||||||
|
|
||||||
|
|
|
@ -98,3 +98,11 @@ encrypted_remote_file '/etc/cron.d/lego' do
|
||||||
source 'files/etc/cron.d/lego'
|
source 'files/etc/cron.d/lego'
|
||||||
password ENV['ITAMAE_PASSWORD']
|
password ENV['ITAMAE_PASSWORD']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
remote_file "/etc/lego/dhparams_4096.pem" do
|
||||||
|
owner 'root'
|
||||||
|
group 'root'
|
||||||
|
mode '444'
|
||||||
|
end
|
||||||
|
|
||||||
|
execute "openssl rand 48 > /etc/lego/ticket.key"
|
||||||
|
|
Loading…
Reference in New Issue