Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Forwarding GoDaddy domain with masking to azure.websites.net - No Certificate

$
0
0

I have a .Net 8 blazor server application hosted as an App Service web application on Azure (using azure.websites.net). I have successfully set up redirects to the domain and the website runs. However, while both ends have an SSL Certificate, when connecting to the site it says it does not have a certificate.

When connecting to https://exampledomain.au it times out and says "... took too long to respond". It will work on http but with no certificate.

The console prints out this error multiple times when connected to http://exampledomain.au, but I think it's unrelated:

VM44:1  Uncaught (in promise) SyntaxError: "[object Object]" is not valid JSON    at JSON.parse (<anonymous>)    at l._storageChangeDispatcher (content.js:2:855976)    at _storageChangeDispatcherCallback (content.js:2:855424)_storageChangeDispatcher    @   content.js:2_storageChangeDispatcherCallback    @   content.js:2Show less

This error does not appear when accessing the site from the azure.websites.net domain.

I had a previous error that initially refused to connect the site due to it refusing to display in a frame which was fixed by adding

builder.Services.AddAntiforgery(o => o.SuppressXFrameOptionsHeader = true);

To the program.cs file.

But now I receive a ssl issue. I am trying to do this with limited additional costs given this is a portfolio website that won't receive much traffic overall. I do not want to use Azures custom domain because I will have to pay a monthly fee that is restricted to USD.

To be clear what happens with the certificate statuses are:

I've talked to GoDaddy support and they said it is nothing on their end. But I doubt it's anything to do with azure. So it might be something needed in the blazor application? Or something in GoDaddy?

This error does not appear when accessing the site from the azure.websites.net domain.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>