Static Web App is returning a "This site can’t provide a secure connection" error

Steve Wallace 6 Reputation points
2022-02-03T10:18:14.403+00:00

I am working on very simple Azure Static WebApp.
I completed this example once https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript and it all worked fine. Now when trying to build a new example it seems something is wrong with the generated certificate.

I get a 'This site can’t provide a secure connection' error. This happens as well the original site I build - which stopped working.

Is there something wrong with my subscription account? What could be causing this problem?

Regards

Steve Wallace

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
367 questions
1 vote

2 answers

Sort by: Most helpful
  1. Steve Wallace 6 Reputation points
    2022-02-04T09:28:41.317+00:00

    Hi,

    The static web app has an automatically generated domain - which I believe should have a certificate automatically provided..

    171323-screenshot01.jpg

    But somehow the certificate is not working...
    171310-screenshot02.jpg

    Thanks for your help : )

    Steve

  2. Micah Tan 1 Reputation point
    2022-02-11T23:04:35.34+00:00

    I was running into a similar issue earlier this week (SSL_ERROR_RX_RECORD_TOO_LONG) on an auto-generated domain, but it seemed to have magically cleared itself up with no other intervention on my part.