question

ErumMirza-7683 avatar image
0 Votes"
ErumMirza-7683 asked BrandoZhang-MSFT commented

ssl Localhost privacy error.How to resolve

I tried to connect with development server certificate Running on IIS express .
working with dot net core .Now I m accessing api from dot net client console application giving me ssl error



Warning: Potential Security Risk Ahead

Firefox detected a potential security threat and did not continue to localhost. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.

dotnet-aspnet-core-mvc
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The developer server certificate validates localhost as the domain. You'll get this browser waring when browsing by an IP address or a different domain.

You did not share the console application error or code which makes it difficult to provide an accurate solution.

0 Votes 0 ·

Hi @ErumMirza-7683 as far as I know, if you just use the httpclient factory library to access the web api, it will not show the firefox security issue. Do you use some firefox browser dll inside this console application to make the request?

0 Votes 0 ·

1 Answer

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.