microsoft / microsoft/aspire

Standalone Dashboard doesn't support disabling certificate validation in the resource service client

Open
#3,670 8 comments 0 reactions 0 assignees View on GitHub
area-dashboard security 🔐
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

I built a custom resource server and I was using HTTP/2 over TLS but wanted to disable certificate validation. Seems like there's no config to do so.

```
Call failed with gRPC error status. Status code: 'Internal', Message: 'Error starting gRPC call. HttpRequestException: The SSL connection could not be established, see inner exception. AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch, RemoteCertificateChainErrors'.
2024-04-12T17:02:51.6185866 System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
2024-04-12T17:02:51.6185886 ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.