Question

Can we install same ssl certificate on all sub domains of same website?

We have a website and we already installed ssl on it. Now we want to put that ssl on our sub domain - can we do this or not?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

Yes this is possible with a wild card SSL certificate. It would be valid for all of your subdomains: *.yourdomain.com

If you are using Let’s Encrypt you could follow these steps here on how to install a Wildcard SSL certificate:

https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7

In case that you are using another SSL provider, you need to get a new certificate and make sure that it is a Wildcard one.

Hope that this helps! Bobby