I have added two domain names, with one serving as the primary domain and the other as a domain alias. I have successfully added an SSL certificate for the primary domain, but I’m encountering difficulties when trying to add a second SSL certificate for the secondary domain.
I am experiencing difficulties in adding an SSL certificate for the Domain alias. My certificates have already been authenticated, and I can add them individually, but I’m unable to add both certificates simultaneously.
Could you please guide me on how to add SSL certificates for both the primary and Domain alias?
I would like to know if it’s not allowed to upload multiple SSL certificates.
Thanks for reaching out and welcome to Netlify’s Support Forums!
Have you seen this Netlify forum post?
Each site can only have one certificate. You would need to do either of the following:
get a certificate that contains both domains, which may be a challenge even if you own or have administrative control of both domains
create a second site for the second set of hostnames. You may link a second site to the same repo to create an identical build, though you will need to duplicate all settings onto that second site.
Thanks for your suggestions, Whilst the second option is a quick fix. This is still proving a challenge for us requiring multiple domains and individual certificates on a single site…
Are there any plans to improve this within the Netlify portal?
No immediate plans. Our Lets Encrypt certificate is able to cover multiple domains and the number of users needing a custom certificate is low in itself. To add another constraint of adding two or more certificates for a site, the demand is severly limited and considering we have a workaround (use Lets Encrypt or use two individual sites), it’s simply not going to be worked on any time soon.