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

certbot: error: unrecognized arguments: --certbot-s3front:auth-s3-bucket my-bucket #94

Open
mrryanjohnston opened this issue Jan 1, 2024 · 1 comment

Comments

@mrryanjohnston
Copy link

I ran this: python3 -m venv. I installed by doing ./bin/pip install certbot-s3front.

$ ./bin/certbot --version
certbot 2.8.0

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* auth
Description: S3/CloudFront Authenticator
Interfaces: Plugin
Entry point: EntryPoint(name='auth',
value='certbot_s3front.authenticator:Authenticator', group='certbot.plugins')

* installer
Description: S3/CloudFront Installer
Interfaces: Plugin
Entry point: EntryPoint(name='installer',
value='certbot_s3front.installer:Installer', group='certbot.plugins')

* standalone
Description: Runs an HTTP server locally which serves the necessary validation
files under the /.well-known/acme-challenge/ request path. Suitable if there is
no HTTP server already running. HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='standalone',
value='certbot._internal.plugins.standalone:Authenticator',
group='certbot.plugins')

* webroot
Description: Saves the necessary validation files to a
.well-known/acme-challenge/ directory within the nominated webroot path. A
seperate HTTP server must be running and serving files from the webroot path.
HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='webroot',
value='certbot._internal.plugins.webroot:Authenticator',
group='certbot.plugins')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I run:

$ ./bin/certbot --agree-tos -a certbot-s3front:auth \
--certbot-s3front:auth-s3-bucket my-bucket \
-i certbot-s3front:installer \
--certbot-s3front:installer-cf-distribution-id my-dist-id \
-d my-domain --config-dir=. --work-dir=. --logs-dir=.
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: --certbot-s3front:auth-s3-bucket my-bucket --certbot-s3front:installer-cf-distribution-id my-dist-id

Any further info I can provide, let me know.

@mrryanjohnston mrryanjohnston changed the title $ ./bin/certbot --agree-tos -a certbot-s3front:auth \ --certbot-s3front:auth-s3-bucket clips.run \ -i certbot-s3front:installer \ --certbot-s3front:installer-cf-distribution-id E30QU2HSC2FFMJ \ -d clips.run --config-dir=. --work-dir=. --logs-dir=. 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: --certbot-s3front:auth-s3-bucket clips.run --certbot-s3front:installer-cf-distribution-id E30QU2HSC2FFMJ certbot: error: unrecognized arguments: --certbot-s3front:auth-s3-bucket my-bucket Jan 1, 2024
@jensbjorgensen
Copy link

The current plugin does not work with certbot 2.8.0 (don't know exactly at what version it broke). I've created a pull request which fixes this: #95 but please note that command-line arguments to certbot would change, instead of certbot-s3front:X it'll be s3front_X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants