itamae/cookbooks/blog/ssl.rb

7 lines
201 B
Ruby
Raw Normal View History

2019-03-03 08:50:49 +00:00
remote_file "/etc/letsencrypt/live/#{node['blog']['FQDN']}/dhparams_4096.pem" do
owner 'root'
group 'root'
end
execute "openssl rand 48 > /etc/letsencrypt/live/#{node['blog']['FQDN']}/ticket.key"