SkillsReviewed · Aaronontheweb

dotnet-devcert-trust

dotnet-devcert-trust is a troubleshooting skill for .NET developers and coding assistants on Linux, but its recovery commands remove development certificates and change system trust. It provides five diagnostic checks, recovery procedures and distribution-specific notes; supported SDK versions and successful outcomes are not established by the supplied evidence.

Researched 16 Nov 2026

In short.

dotnet-devcert-trust is a Linux HTTPS troubleshooting skill for .NET developers and coding assistants, but its reset procedure removes development certificates and changes the system trust store. Its strongest feature is separating certificate existence from trust-bundle inclusion, environment overrides and stale links. It also covers Ubuntu/Debian, Fedora/RHEL, Arch, WSL2 and CI examples. Its broad claims about Linux trust behavior lack an SDK compatibility matrix, and its checks do not establish that a running service presents the correct certificate or hostname. No commands were executed, so recovery success, browser trust and container behavior remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is skills/dotnet-devcert-trust at commit 5ca5db8cf25566f19d2a5dc53204d4af22b23a0d, represented by its SKILL.md. The accompanying root LICENSE is outside that folder and supplies its reuse notice. Other repository skills, assistant installation documentation, official platform documentation and runtime results are outside the supplied material. No commands were executed; SDK compatibility, distribution behavior, live service recovery, browser trust and container trust remain unassessed.

The overview

Identity

The resource is skills/dotnet-devcert-trust/SKILL.md in Aaronontheweb/dotnet-skills. It supplies instructions for an assistant diagnosing .NET HTTPS development-certificate problems on Linux. The original folder is [https://github.com/Aaronontheweb/dotnet-skills/tree/master/skills/dotnet-devcert-trust].

Its metadata names the skill dotnet-devcert-trust and sets user-invocable to false. Compatible assistant hosts, registration instructions and the host behavior associated with that setting are not specified.

Assessment

This is a useful starting point when a .NET development certificate exists but Linux applications still reject it. The ordered checks help distinguish a missing certificate, missing system trust, lookup overrides and broken certificate links.

Use requires technical judgment. The source makes broad statements about dotnet dev-certs https --trust on Linux without identifying the relevant SDK versions. It also treats some observations, such as any certificate environment variable being set, as failures without establishing that the configuration is wrong.

Intended users

The main audience is developers running .NET HTTPS applications on Linux, including Aspire users encountering Redis or gRPC TLS errors. Developers maintaining Linux development machines or integration-test runners may also find the examples useful. Beginners receive explanations of certificate stores and bundles, but the recovery commands require confidence with shell commands, administrator access and certificate replacement.

Capabilities

The skill describes five checks: certificate existence, installed certificate files and permissions, inclusion in a CA bundle, environment overrides and broken links. It supplies a full reset procedure, certificate export and installation commands, fingerprint inspection, renewal guidance and GitHub Actions and Azure DevOps examples.

Its distribution notes cover Ubuntu/Debian, Fedora/RHEL/CentOS, Arch and WSL2. These are written procedures and snippets; the supplied scope contains no separate diagnostic program or automated test results.

Using it

Requirements

Following the procedures requires access to dotnet dev-certs, OpenSSL, a Linux shell and the distribution's certificate-management tools. The system-store changes require administrator privileges through sudo. The full recovery script uses Bash.

The minimum .NET SDK version, supported assistant hosts and required package versions are unknown. Browser trust and container trust have additional boundaries that the supplied procedures do not fully document.

How it works

The central distinction is between possessing a development certificate and trusting it. For Ubuntu/Debian, the source exports a certificate, copies it into /usr/local/share/ca-certificates/, rebuilds the trust bundle with update-ca-certificates and checks it with OpenSSL. Fedora and Arch use different anchor directories and update-ca-trust.

This attempts to make the certificate acceptable to clients using the relevant system trust configuration. Verifying the exported file against a bundle does not establish which certificate a running server presents or whether its hostname matches the connection.

Setup and adoption

No assistant installation command or host compatibility instructions are provided. For manual use, the document starts with individual checks before presenting a full recovery script. The main script uses Ubuntu/Debian paths; other distributions require the corresponding commands and directories from their own sections.

Before using the reset procedure, inspect the certificates and paths it removes. It calls dotnet dev-certs https --clean and deletes named files and an aspnet directory. The export examples use --no-password but do not explain private-key output or protection, so SDK-specific export behavior needs confirmation before copying artifacts into trust directories.

Example use

Consider an Ubuntu developer whose Aspire Redis connection reports UntrustedRoot. The source proposes checking certificate existence with dotnet dev-certs https --check, then checking the installed certificate and verifying it against /etc/ssl/certs/ca-certificates.crt. If the certificate is correct but bundle inclusion is missing, it proposes rebuilding the bundle with sudo update-ca-certificates and verifying again.

The document shows an OK verification result as an expected outcome. No observed output establishes that this procedure fixed an actual Redis connection, and the application connection would still need verification.

Assessment & evidence

Limitations

The skill lists RemoteCertificateNameMismatch as a trigger, but its checks do not validate the hostname used by a client against the certificate presented by the service. Adding trust alone does not demonstrate that this separate condition has been resolved. Fingerprint inspection appears in the reference commands, but no complete comparison between the installed certificate and the live endpoint is supplied.

Browser trust is discussed without an NSS/NSSDB installation procedure. The claim that fixing WSL2 trust also fixes Docker Desktop containers is not accompanied by container configuration or verification. The blanket Linux --trust statements and the claimed Aspire 13.1.0 Redis default are not independently established by the supplied material. No commands were executed.

Technical rationale

The diagnostic sequence is useful because certificate existence, trust and application behavior are different questions. A local file can exist without being trusted, and a trusted file can differ from the certificate actually served. Checking those boundaries helps avoid assuming that regeneration alone solves the problem.

Some prescribed fixes need additional context. A configured SSL_CERT_FILE may be intentional, so its presence alone does not justify removing it. Likewise, a filename or file count cannot establish certificate identity. The full reset is broader than an individual repair and should follow a diagnosis of the affected environment.

Alternatives and related resources

For a missing development certificate, the source's individual dotnet dev-certs https generation step is narrower than the full reset. For an existing certificate absent from the bundle, its bundle-rebuild step may address that specific condition without regeneration.

The document also names dotnet-skills:aspire-configuration and dotnet-skills:aspire-service-defaults for related Aspire configuration topics. Their contents and comparative usefulness are unknown because they are outside the supplied scope. No independently supported comparison with other troubleshooting resources is available.

Evidence

The technical material comes from the pinned skill file at [https://raw.githubusercontent.com/Aaronontheweb/dotnet-skills/5ca5db8cf25566f19d2a5dc53204d4af22b23a0d/skills/dotnet-devcert-trust/SKILL.md]. It supplies explanations, commands, claimed symptoms and expected results. The accompanying root LICENSE supplies reuse terms.

Neither file supplies execution logs, a tested SDK and distribution matrix, browser verification, container verification or a demonstrated application recovery. The command examples establish what the skill recommends, rather than proving its outcomes.

Access & freshness

Costs

The MIT license grants permission free of charge. The skill provides no pricing for an assistant host, model usage, CI execution or infrastructure. Total adoption and operating costs are unknown. There is no evidence supporting a particular time saving, cost saving or debugging success rate.

License and reuse

The accompanying repository LICENSE is MIT, with copyright attributed to Aaron Stannard in 2025. It permits use, copying, modification, publication, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It disclaims warranties and liability.

The license is supplied from the same source revision as the skill. Its original text is available at [https://raw.githubusercontent.com/Aaronontheweb/dotnet-skills/5ca5db8cf25566f19d2a5dc53204d4af22b23a0d/LICENSE].

Version and freshness

The source snapshot is pinned to commit 5ca5db8cf25566f19d2a5dc53204d4af22b23a0d and was captured on 16 November 2026. The capture date does not establish when the instructions were written or last updated.

The skill discusses Aspire 13.1.0 but supplies no .NET SDK compatibility matrix. Behavior on a particular current SDK, distribution or Aspire release remains unknown. The 2025 copyright notice does not establish a maintenance date.

Practical next steps

Identify the .NET SDK, Linux distribution, failing client and hostname before choosing a repair. Check certificate existence and identity, inspect intentional environment overrides and confirm the distribution's trust-store procedure. Review the cleanup targets and export behavior before using the full reset.

After a repair, verify both the installed certificate and the actual application connection. Assess hostname matching, browser trust and container trust separately where relevant. Retain the MIT notice when copying or redistributing the skill. These are suggested validation steps; no successful outcome is established.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/dotnet-devcert-trust/SKILL.mdselected · checked 2026-11-16