dotnet-devcert-trust

Manage .NET dev-certificate trust on Linux and WSL2 systems.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/MudraMartin/dotlight-skillset --skill dotnet-devcert-trust-mudramartin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dotnet-devcert-trust
Source: https://github.com/MudraMartin/dotlight-skillset/tree/main/dotnet/dotnet-devcert-trust
Command: npx skills add https://github.com/MudraMartin/dotlight-skillset --skill dotnet-devcert-trust-mudramartin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill resolves trust issues with HTTPS dev-certificates on Linux and WSL2, ensuring proper certificate validation and connectivity.

Core Features & Use Cases

  • Certificate Lifecycle Management: Handles full certificate lifecycle, from generation to system CA bundle updates.
  • Distro-Specific Steps: Provides steps tailored for Ubuntu, Fedora, Arch, and WSL2 environments.
  • Diagnostic Procedures: Offers a diagnostic procedure with five checks to pinpoint and fix trust issues.
  • Recovery Procedure: Provides a complete recovery procedure for system-wide trust issues.
  • Automation: Offers scripts for automation in CI/CD pipelines like GitHub Actions and Azure DevOps.

Quick Start

Run the provided bash script ~/fix-devcert.sh to fix the trust issues with your .NET dev-certificate.

Frequently Asked Questions about dotnet-devcert-trust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my .NET HTTPS dev-certificate fail validation on Linux?▼

Your .NET HTTPS dev-certificate fails validation on Linux because the system CA bundle does not trust the self-signed developer certificate. This Skill resolves the trust issue by managing the certificate lifecycle and rebuilding the CA bundle.

How do I fix .NET HTTPS dev-certificate trust issues in WSL2?▼

To fix .NET HTTPS dev-certificate trust issues in WSL2, run the provided bash script `~/fix-devcert.sh`. This script handles distro-specific configurations and updates the system-wide CA bundle to establish trust.

Does this certificate trust fix work for Fedora and Arch Linux?▼

Yes, this certificate trust fix works for Fedora and Arch Linux. It provides tailored diagnostic and recovery steps for Ubuntu, Fedora, Arch, and WSL2 environments to correct system-wide trust configurations.

What is the best way to automate .NET dev-certificate trust in CI/CD pipelines?▼

The best way to automate .NET dev-certificate trust in CI/CD pipelines is using the provided automation scripts. These scripts integrate with GitHub Actions and Azure DevOps to manage the certificate lifecycle during deployment.

What should I do when my Linux SSL dev-certificate is not working after generation?▼

When your Linux SSL dev-certificate is not working after generation, use the built-in diagnostic procedure with five checks. This pinpoints the specific trust failure, followed by a complete recovery procedure to rebuild the CA bundle.