itamae/cookbooks/blog/ssl.rb

9 lines
143 B
Ruby
Raw Normal View History

remote_file "/etc/lego/dhparams_4096.pem" do
2019-03-03 08:50:49 +00:00
owner 'root'
group 'root'
mode '444'
2019-03-03 08:50:49 +00:00
end
execute "openssl rand 48 > /etc/lego/ticket.key"