Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Error: The certification authority is invalid or incorrect.

26.06.2018 (๐Ÿ‘7236)


 

The error comes when testing a local Api connection with a HttpClient

 

System.Net.Http.HttpRequestException

  HResult=0x80072F0D

  Message=An error occurred while sending the request.

  Source=System.Net.Http

  StackTrace:

   at System.Net.Http.HttpClientHandler.<SendAsync>d__86.MoveNext()

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Net.Http.HttpClient.<GetContentAsync>d__32`1.MoveNext()

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

   at api01.MainPage.<read_API_Data>d__2.MoveNext() in C:\_Daten\Desktop\VS_Projects\UWP\api01\api01\MainPage.xaml.cs:line 37

 

Inner Exception 1:

COMException: Der Text zu diesem Fehlercode wurde nicht gefunden.

 

Die Zertifizierungsstelle ist ungรผltig oder fehlerhaft.

 

 

 

 

Solution:

On the localserver can not be tested with https: // but only with http: // without SSL Secure Socket Layer

 

 

UWP, Asp.Net Core with SSL