dlapiduz / certbot-s3front

Certbot CLI plugin for S3/CloudFront validation and installation
MIT License
585 stars 71 forks source link

can the authenticator be run without running the installer? #4

Closed ezeeetm closed 8 years ago

ezeeetm commented 8 years ago

Is it possible to run something like

AWS_ACCESS_KEY_ID="your_key" \ AWS_SECRET_ACCESS_KEY="your_secret" \ letsencrypt --agree-tos -a letsencrypt-s3front:auth \ --letsencrypt-s3front:auth-s3-bucket the_bucket \ -d the_domain

to run just the authenticator part and not the installer?

I can then use an http redirect from my web server to the auth file in s3. This is useful for our situation where we have hundreds of domains behind one ELB, so we can avoid creating symlinks to --webroot directory

dlapiduz commented 8 years ago

Yes you can!

Just run the CLI with the certonly command...

So something like:

AWS_ACCESS_KEY_ID="your_key" \
AWS_SECRET_ACCESS_KEY="your_secret" \
letsencrypt --agree-tos -a letsencrypt-s3front:auth \
--letsencrypt-s3front:auth-s3-bucket the_bucket \
-d the_domain certonly
ezeeetm commented 8 years ago

@dlapiduz thx. this is good.