Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using --http-01-port #7438

Closed
lonix1 opened this issue Oct 9, 2019 · 1 comment

Comments

@lonix1
Copy link

commented Oct 9, 2019

Originally from a discussion at community.letsencrypt.org.

Background
I'm running certbot (v0.39.0 latest) in docker. I want to use the --http-01-port flag.

Problem
When I use it in a config file, it works.

But when I use it as a flag, docker logs certbot show me:

usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] …

Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: --http-01-port 80

If I convert all the stuff in the config file to equivalent flags, it works.

Notes

  • WORKS: when there is no config file, and it's used as a flag
  • WORKS: when there is a config file, and it's used in the config file
  • FAILS: when there is a config file, and it's used as a flag
@lonix1

This comment has been minimized.

Copy link
Author

commented Oct 9, 2019

As detailed in that community site thread, "can't repro"

@lonix1 lonix1 closed this Oct 9, 2019
@lonix1 lonix1 changed the title [Bug?] Error when using --http-01-port Error when using --http-01-port Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.