The SSL connection could not be established, see inner exception.
See original GitHub issueQuestion
When I deployed Admin to iis, Admin didn’t work properly ,Sts and Admin.Api is can run .What should I do?
Relevant parts of the log file
2021-09-08 15:55:10.698 +08:00 [ERR] Connection ID "16068843484953444874", Request ID "8000020b-0003-df00-b63f-84710c7967bb": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'System.String'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.CspMiddleware.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
The SSL connection could not be established
You get this error because your app isn't able to validate the certificate of the connection, and it's especially common to use this...
Read more >c# web api The SSL connection could not be established, ...
This could be due to a number of reasons, including incorrect certificate format, incorrect certificate chain, or incorrect certificate data.
Read more >The SSL Connection could not be established, see inner ...
"The SSL connection could not be established, see inner exception." Everything works fine in Postman / Chrome, but not in WebSurge - any...
Read more >The SSL connection could not be established
I am developing a project using ASP.NET Core WebAPI, and when I try to debug this one, I get the following error message:...
Read more >The SSL connection could not be established, see inner ...
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The SSL connection could not be established, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m having the same issue. Any way to fix this?
EDIT: In my case, there was a folder named ‘cacerts.crt’ in my /shared/nginx/certs, and de CAroot crt was incorrectly copied inside this folder. Deleting this folder and running the ‘copy’ command again fixed it for me.
how can I debbug the Admin project in visual studio or vs code ?I don’t know how to debug it,i hava the Cert . it is created by the mkcert ; mkcert -pkcs12 localhost 127.0.0.7 ::1 ,mkcert -pkcs12 skoruba.local.pfx skoruba.local *.skoruba.local . and I edit the host file (window),but it now work