docs: Provision a cert with the ACME DNS-01 challenge via Certbot + Cloudflare#2968
Conversation
polarathene
left a comment
There was a problem hiding this comment.
Thanks for providing this contribution! 👍
I've provided some revisions to consider, you can batch commit them all if you like (or I could do it if you prefer).
| 6. Run the service to provision a certificate: | ||
|
|
||
| ```sh | ||
| docker-compose run certbot-cloudflare | ||
| ``` |
There was a problem hiding this comment.
As you've mentioned this only allows to provision the certificate and different steps are required for renewal. Would you like to inform the user about this and how to go about renewal?
Presently pairing the service in a compose config next to the DMS service would run that service and command each time the mail-server is brought up with a docker-compose up -d, is that going to be a concern? Should it be treated as a separate compose file?
I've not reviewed the other guides on this page, they may have a similar concern but not one you need to worry about 👍
I came across a very similar step-by-step guide that shows that renewal command is pretty much the same but includes renew instead of certonly, they also have a few extra options in their commands (also via a docker-compose file) that might be worthwhile.
It seems common to just setup a cron or systemd timer on the host to schedule renewals with Certbot?
I'm not blocking approval on this, but it would be appreciated if addressed 😅
There was a problem hiding this comment.
Sure, it'd be better if we add that part about renewal, gonna working on this part later and expect to create a commit later today
There was a problem hiding this comment.
I've completed add documentation for renewing certificate in 8560bdf, waiting for github-action to complete building preview
polarathene
left a comment
There was a problem hiding this comment.
I'll apply these changes, thanks for the contribution! 😀
Add docs for implement certbot-dns-cloudflare to generate certificate for mail server
Fix the docker-compose command according to the advice
Add docs for implementing renewing certificate with crontab
fa880c9 to
ab8ef12
Compare
|
Documentation preview for this PR is ready! 🎉 Built with commit: ab8ef12 |
Description
Add docs for implementing
certbot-dns-cloudflareto generate a certificate for the mail serverType of change
Checklist:
docs/)