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:
This means .NET applications, OpenSSL, curl, and browsers all reject the dev certificate — even though dotnet dev-certs https --check reports it exists.
Prior to Aspire 13.1.0, Redis connections used plaintext. Starting with 13.1.0, Aspire enables TLS on Redis by default. If your dev cert isn't trusted at the system level, Redis connections fail immediately with:
Diagnostica e risolvi i problemi di attendibilità del certificato di sviluppo HTTPS .NET su Linux. Copre l'intero ciclo di vita del certificato, dalla generazione all'inclusione del bundle CA di sistema, con indicazioni specifiche per la distribuzione per Ubuntu, Fedora, Arch e WSL2. Fonte: aaronontheweb/dotnet-skills.