You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, the DNS (CAA and A records) need to be configured BEFORE you run the Ansible program as otherwise the certificate creation will fail.
The way Traefik works if it's not able to get a cert (which it won't if the CAA record isn't in place at the time the playbook is run) it will eventually timeout with too many attempts and tell you so in the docker logs (use lazydocker to view traefik logs). At this point you can still add the CAA record to DO and then bring down the traefik service for a bit so the timeout refusal period has passed then bring traefik back up and it'll try again. This is the same way it worked with Traefik v1. When the traefik service comes back up it'll attempt to get that cert again an when it does docker logs for traefik will no longer show too many attempts when attempting to get the LE wildcard cert. At which point SSL will be functional.
Also, since it's not covered in the docs anywhere here's the CAA record I used which worked well for me and I added only after running the ansible playbook the first time around:
Also, for the sake of edification, anyone using Route 53 as your domain registrar please note there are not one but two places which you may adjust nameservers: (1) the NS record and (2) the registered domain. To point to DO you need to adjust (2) for proper DNS delegation. It takes about 30 minutes or so and AWS will send an email when it's finished. Note however Route 53 supports CAA records so you may choose not to delegate though you may find it easier if you do.
HI,
excellent work to simplify the deploy of RC on DO.
I have this working BUT it requires the extra steps in your video:
Also, the DNS (CAA and A records) need to be configured BEFORE you run the Ansible program as otherwise the certificate creation will fail.
I would suggest to add the above to the written tutorial.
The text was updated successfully, but these errors were encountered: