Should I wait to associate my droplet with a domain name before issuing a LetsEncrypt SSL certificate?

I am relatively new to SSL certs, but I am assuming that would be a bad idea since all my droplet would have is an IP address. If I issue the cert now, before setting up the domain name, I assume it will break the SSL cert once I associate the domain name with it and the browser will say that the cert is invalid or something?


Submit an 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.

You’re right insofar as any certificate you created now wouldn’t be usable once your users are accessing your site via your domain name, but in some cases, with non-external servers, it is best practice to use SSL even if the server does not have a domain associated it. These servers might be your database, or other backend servers that your front-end server communicates with, but no users directly interact with.