Report this

What is the reason for this report?

Certbot Error when trying to install MQTT on CentOS 7

Posted on September 17, 2019

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.