I want to install a Letsencrypt certificate on my Chef server. I followed this guide:
git clone
https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto
./letsencrypt-auto certonly --standalone --email
[email protected] -d chefserver.DOMAIN.com
But this leads to Problem binding to port 80: Could not bind to IPv4 or IPv6., so I had to change the configuration that my server allows traffic on port 80. Thanks to this answer I created /etc/opscode/chef-server.rb:
nginx['non_ssl_port'] = 80
nginx['ssl_port'] = 443
nginx['enable_non_ssl'] = true
nginx['x_forwarded_proto'] = 'http'
nginx['url'] = '
http://chef.mydomain.com'
After running chef-server-ctl reconfigure I found out that /etc/opscode/chef-server-running.json has been changed.
But the server still redirects my http-traffic to https, so a Letsencrypt certificate still can't be generated.
How can I get a Letsencrypt certificate for my Chef Server?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)