Dotnet Devcert Trust
Diagnose and repair .NET HTTPS dev certificate trust on Linux by rebuilding the system CA bundle.
- CCM score
- 77 of 100
- skills.sh installs
- 480
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full dev certificate lifecycle, from generation through
update-ca-certificatesinclusion in the consolidated bundle - Includes a 5-point diagnostic procedure (existence, system store, bundle inclusion, environment overrides, symlink integrity) with a full recovery script
- Enforces correct
644permissions and removal of staleaspnetcore-dev.crtandaspnet/files that block trust - Designed for .NET developers on Linux hitting
UntrustedRooterrors with Aspire 13.1.0+ Redis TLS, with distro notes for Ubuntu, Fedora, Arch, and WSL2
Install
$ npx -y skills add aaronontheweb/dotnet-skills --skill dotnet-devcert-trust -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
.NET Dev Certificate Trust on Linux
When to Use This Skill
Use this skill when:
- Redis TLS connections fail with
UntrustedRootorRemoteCertificateNameMismatchin Aspire dotnet dev-certs https --check --trustreturns exit code 7- HTTPS localhost connections fail with certificate validation errors
- After running
dotnet dev-certs https --cleanand needing to restore trust - Setting up a new Linux dev machine for .NET HTTPS development
- Aspire dashboard or inter-service gRPC calls fail with TLS errors
- Upgrading from Aspire < 13.1.0 (which didn't use TLS on Redis by default)
The Problem
On Windows and macOS, dotnet dev-certs https --trust handles everything automatically — it generates the certificate, installs it in the user store, and adds it to the system trust store. On Linux, it does almost nothing useful. The command generates the cert and places it in the user store, but:
Details
- Repository
- github.com/aaronontheweb/dotnet-skills
- Categories
- .NET & C#, DevOps & Cloud, Debugging
- First seen
- Jun 3, 2026
Questions
What does the dotnet-devcert-trust skill do?
It diagnoses and fixes .NET HTTPS dev certificate trust problems on Linux, covering the certificate lifecycle from generation to inclusion in the system CA bundle. It gives distro-specific guidance for Ubuntu, Fedora, Arch and WSL2.
Why does dotnet dev-certs https --trust not work on Linux?
On Linux the command generates the certificate and places it in the user store, but it does not export it to the system CA directory or run update-ca-certificates. Applications then reject the certificate even though dotnet dev-certs https --check reports it exists.
How do I install the dotnet-devcert-trust skill?
Run npx -y skills add aaronontheweb/dotnet-skills --skill dotnet-devcert-trust -y in a project. The skill then lets your agent walk through a five-point diagnostic and a full recovery procedure for broken .NET dev certificate trust.
Why do Redis TLS connections fail in Aspire after upgrading to 13.1.0?
Starting with Aspire 13.1.0, Redis connections use TLS by default. If the dev certificate is not trusted at the system level, connections fail with an UntrustedRoot authentication error, which this skill is designed to fix.
More from aaronontheweb/dotnet-skills
All 34- Skills Index Snippets478
- Playwright Ci Caching476
- Akka Net Best Practices472
- Mailpit Integration465
- Verify Email Snapshots458
- OpenTelemetry NET Instrumentation456
- Akka Hosting Actor Patterns455
- Akka Net Testing Patterns452
- Akka Net Management451
- Akka Net Aspire Configuration437
- Marketplace Publishing430
- Modern Csharp Coding Standards2.4K
- Csharp Concurrency Patterns1.7K
- Efcore Patterns1.6K
- Dependency Injection Patterns732
- Database Performance731
- Dotnet Project Structure723
- Type Design Performance716
- Api Design715
- Ilspy Decompile684
- Microsoft Extensions Configuration636
- Package Management635
- Serialization622
- Testcontainers Integration Tests615
Similar to Dotnet Devcert Trust
More .NET & C#dotnet-local-toolsaaronontheweb/dotnet-skills573 installsManifest-pinned .NET CLI tools that restore identically across developer machines and CI pipelines.
package-managementaaronontheweb/dotnet-skills635 installsManage NuGet packages through dotnet CLI commands with Central Package Management and shared version variables.
mobile-ssl-pinning-bypassyaklang/hack-skills4K installsStep-by-step playbook for bypassing SSL certificate pinning in Android and iOS apps, including Flutter, React Native, and Xamarin.
mtls-configurationwshobson/agents11K installsZero-trust mTLS setup covering certificate hierarchy, rotation, and gradual enforcement for service-to-service traffic.
dotnet-trace-collectdotnet/skills5.3K installsGuided capture of .NET diagnostic artifacts, picking the right tool for Windows, Linux, and container environments.
dump-collectdotnet/skills4.9K installsConfigures and collects crash dumps for modern .NET apps, excluding analysis and .NET Framework processes.