in Education by
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)

1 Answer

0 votes
by
The --standalone flag you tried initially spawns certbot's own server on port 80. This failed because you had something else listening on port 80. If that is your chef server, one option is either disable it listening on port 80 (maybe stop the server temporarily) or move its non_ssl_port to some other port, i.e. 8000. If it's not the chef server listening on port 80, you should investigate what it is (i.e., it could be an instance of nginx or apache server). After you find out and release port 80, then your initial set of commands should work and produce the certificate.

Related questions

0 votes
    ______ let's you perform SQL queries on your R data frames. (a) sqldf (b) plyr (c) forecast (d) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    10.The………tool lets you draw straight lines and curves. Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Let's play around with matrix derivatives! A trace Tr(X)Tr(X) of a matrix XX is a sum of its diagonal ... a matrix notation for it: Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Which of the following JavaScript logging framework lets one to toggle the plane? (a) Lumberjack (b) Log ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Let's say I have one variable, directory_list, which I define and set in a ruby_block named get_directory_list. Can ... woohoo" end end Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    Chef was initially created by ___________ 1. Adam Jacob 2. Robbins 3. Adam Jaqlin 4. Jesse...
asked Sep 18, 2021 in Technology by JackTerrance
0 votes
    I have an android class which is encoding and decoding my text using a key but I want to create ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    Currently I am working in dev env on my local machine where I am storing passwords in plain text using ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 6, 2022 in Education by JackTerrance
0 votes
    I'm using an identical call to "CryptUnprotectData" (exposed from Crypt32.dll) between XP and Vista. Works ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 26, 2022 in Education by JackTerrance
...