Closed dirkcuys closed 5 years ago
@dlapiduz not sure if you use Docker, but I'm still using this plugin (thank you!) and I find using Docker to install all dependencies in a container helps.
To renew certs, I build the docker image
docker build . -t certbot-s3front
I define a few variables:
echo AWS_ACCESS_KEY_ID=YOUR_ID >> env.list
echo AWS_SECRET_ACCESS_KEY=YOUR_KEY >> env.list
And then whenever I need to renew certs, I run
docker run --rm --name lets-encrypt -it \
-v ./letsencrypt/:/etc/letsencrypt \
--env-file env.list \
certbot-s3front \
--init \
--agree-tos \
-a certbot-s3front:auth \
-i certbot-s3front:installer \
--certbot-s3front:auth-s3-bucket <YOUR_AWS_S3_BUCKET> \
--certbot-s3front:installer-cf-distribution-id <YOUR_AWS_CLOUDFRONT_DISTRIBUTION_ID> \
-d <YOUR_DOMAIN>
Add Dockerfile to make it easier to run certbot with the plugin installed