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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
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:
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04
Hope this helps!
Cheers, Lalitha