Skip to content

[docs] Document Linux dev certificate trust improvements - #1446

Merged
David Pine (IEvangelist) merged 2 commits into
release/13.5from
docs/pr-18851-dev-cert-trust-8a5dc595bfee17c6
Aug 7, 2026
Merged

[docs] Document Linux dev certificate trust improvements#1446
David Pine (IEvangelist) merged 2 commits into
release/13.5from
docs/pr-18851-dev-cert-trust-8a5dc595bfee17c6

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#18851

@danegsta

Targeting release/13.5 based on the source PR milestone 13.5 (exact match).

Why this is needed

PR 18851 improves Linux dev certificate trust handling in two user-facing ways:

  1. aspire doctor now detects stale, missing, or corrupt OpenSSL development certificate cache entries under the dev-certs trust directory (missing current certificate, missing subject-hash link, or unreadable cache files) and recommends aspire certs clean followed by aspire certs trust. New resource strings back these checks (e.g. DevCertsOpenSslCacheMissingCurrentCertificateMessage, DevCertsOpenSslCacheMissingHashLinkMessage, DevCertsOpenSslCacheUnreadableMessage, DevCertsInstallOpenSslCleanAndTrustFixFormat).
  2. Append-mode certificate trust for local executable resources now preserves Linux system OpenSSL trust roots: it appends to an existing SSL_CERT_DIR when set, or materializes well-known system certificate directories when unset, so workloads launched via dotnet run or an IDE (bypassing aspire run's own SSL_CERT_DIR setup) don't lose outbound HTTPS trust.

Neither behavior was previously documented on aspire.dev.

What changed

  • reference/cli/commands/aspire-doctor.mdx: Added a note describing the new OpenSSL certificate cache checks and a sample warning/fix-suggestion output block.
  • app-host/certificate-configuration.mdx: Added a note under Append mode explaining the Linux system trust preservation behavior for SSL_CERT_DIR.

Both are updates to existing pages; no new pages were created.

Generated by PR Documentation Check · auto · 80.9 AIC · ⌖ 7.02 AIC · ⊞ 17.7K ·

Document the aspire doctor OpenSSL development certificate cache checks
and the Linux system trust preservation for Append-mode certificate
trust, introduced in microsoft/aspire#18851.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Aug 7, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 32c349b4-907d-42e9-aad8-2f0edc267779
@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review August 7, 2026 07:22
Copilot AI lite review requested due to automatic review settings August 7, 2026 07:22

@IEvangelist David Pine (IEvangelist) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated against microsoft/aspire#18851. The doctor guidance and Linux Append-mode trust behavior now accurately distinguish the AppHost process environment from per-resource environment settings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates aspire.dev documentation to cover Linux development certificate trust improvements introduced in microsoft/aspire#18851, specifically new aspire doctor OpenSSL cache diagnostics and how Append-mode certificate trust preserves system OpenSSL roots via SSL_CERT_DIR.

Changes:

  • Added Linux-specific notes and an example warning output for OpenSSL dev-certs cache issues in aspire doctor.
  • Added a Linux Append-mode note explaining how system trust roots are preserved for executable resources via SSL_CERT_DIR.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/frontend/src/content/docs/reference/cli/commands/aspire-doctor.mdx Documents new Linux OpenSSL dev certificate cache checks and shows a sample warning/fix output.
src/frontend/src/content/docs/app-host/certificate-configuration.mdx Documents Linux SSL_CERT_DIR behavior for Append-mode trust to preserve system roots.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +179 to +182
Environment
✅ Operating system: Linux Ubuntu 24.04
⚠️ OpenSSL HTTPS development certificate cache is missing the current certificate
Run 'aspire certs clean' and then 'aspire certs trust' to remove stale or corrupt certificates and regenerate trusted development certificates.
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1446. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1446 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@IEvangelist
David Pine (IEvangelist) merged commit 84ca36b into release/13.5 Aug 7, 2026
11 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the docs/pr-18851-dev-cert-trust-8a5dc595bfee17c6 branch August 7, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants