I have an installation of Rocket.Chat that was installed using Snaps. I am following the instructions to configure a SSL certificate for my domain using Snaps and Caddy. It fails with an error stating that the IP addresses do not match. I understand that this is due to using a floating IP.
Can anyone advise how I can configure a SSL certificate on a snaps installation using a floating ip?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hello @graemeStarfish ,
Caddy makes use of Let’s Encrypt to automatically provide you SSL protection for your communications. As long as your domain name is pointed to the Floating IP it will work fine. Make sure the DNS records are set up to resolve the domain name to the Floating IP. The CertBot add validation works by adding a temporary file inside your document root directory. As long as their API is able to access the temporary file, the validation will work.
You can follow the steps on how to do that here:
Hope this helps!
Cheers, Lalitha
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.