Custom SSL certificate on azure static web app

1k views Asked by At

I have a static web app building from Git Hub and being deployed to Azure. I need to use a custom SSL certificate, not the one issued by Azure, but I do not see any options on the dashboard to upload a certificate. Is there something I am missing or is this option not supported by Azure?

I created a new static web app, linked a GitHub repo, built the app and everything is working as expected. I then searched through the Azure settings looking for certificate options and did not find one.

1

There are 1 answers

0
AjayKumar On

As esqew mentioned, for Azure Static web app you cannot bind our own certificates like as App Service WebApp.

By default, Azure Static Web Apps provides an auto-generated domain name for your website, but you can point a custom domain to your site. Free SSL/TLS certificates are automatically created for the auto-generated domain name and any custom domains you may add.

However, if your requirement fits, you may set up a custom domain in Azure Static Web Apps, please take a look at this doc: static-web-apps/custom-domain

If you wish, you may share your suggestions on this, you can create an issue in the Static Web Apps GitHub repository || How can I suggest a new feature?