microsoft / microsoft/aspire

Misleading Aspire doctor output for out of date tls cert.

Open
#17,759 2 comments 0 reactions 0 assignees View on GitHub
area-cli triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

When running aspire doctor, I get the following warning
```
Environment
✅ HTTPS development certificate is trusted
⚠️ HTTPS development certificate has an older version (v5)
Run 'aspire certs clean' to remove all certificates, then run 'aspire certs trust' to create and trust a new one.
See: https://aka.ms/aspire-prerequisites#dev-certs
Details:
Older certificate versions (< v4) may not support all certificate trust scenarios.
```

In particular, the following two lines seem to contradict each other.
```
⚠️ HTTPS development certificate has an older version (v5)
```
and
```
Older certificate versions (< v4) may not support all certificate trust scenarios.
```

But v5 is great than v4, so why is this error a warning?

I think what is meant is that the latest version is V6, and V5 is lower than v6. But the presence of the second message causes confusion.

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.