Corrupted certificate data hobbles certboto-docker
#50
Labels
bug
This issue or pull request addresses broken functionality
certboto-docker
#50
🐛 Summary
An unknown issue can somehow occur where the data for a particular certificate in the S3 bucket gets corrupted. When that happens, normal
certboto-docker
commands will fail due to the warning emitted byrebuild-symlinks.py
.To reproduce
Note that the same warning will occur with any
certbot
command (even if the--shell
flag is provided), since the error occurs in the step before actually executingcertbot
commands.Expected behavior
It would be nice to do two things here:
Notes
When I manually sorted this issue out earlier today, I took the following steps to correct it:
$ docker compose run --entrypoint /bin/sh certboto
# AWS_PROFILE=mycertificatesbucketfullaccess aws s3 sync "s3://my-certificates-bucket" /etc/letsencrypt
# AWS_PROFILE=mycertificatesbucketfullaccess aws s3 sync --delete /etc/letsencrypt "s3://my-certificates-bucket"
After that,
certboto-docker
commands worked normally and a fresh certificate was able to be generated.The text was updated successfully, but these errors were encountered: