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:
Diagnostizieren und beheben Sie Vertrauensprobleme bei .NET HTTPS-Entwicklungszertifikaten unter Linux. Deckt den gesamten Zertifikatslebenszyklus von der Generierung bis zur Einbindung des System-CA-Bundles ab, mit distro-spezifischer Anleitung für Ubuntu, Fedora, Arch und WSL2. Quelle: aaronontheweb/dotnet-skills.