By mihai
When following the steps here
All works up to the end of Step2. Command
sudo certbot certonly --standalone --standalone-supported-challenges http-01 -d mqtt.example.com
where I replace example.com with my domain returns
certbot: error: unrecognized arguments: -standalone-supported-challenges http-01
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
What is your certbot version? It seems like as of Certbot 0.33.0 which was released a couple of months ago and according to the official documentation, --standalone-supported-challenges had been deprecated for a long time and does the same thing as --preferred-challenges.
https://community.letsencrypt.org/t/certbot-0-33-0-release/90298/2
I’ll ask for the tutorial to be updated.
Let me know if this was the case. Regards, Bobby
Thank you for the quick answer. I asked a friend for help since this was above my pay grade. He used the command certbot certonly --preferred-challenges http -d mydomain.com and it worked. He says an update to the doc would be good. He also says that since there was already installed a listener on port 80, the --standalone option was not required. This could be specified in the doc also.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.