I am a dotnet developer and there is one error which just drives me nuts. I cannot get Manjaro to accept the dotnet developer certificate. In whatever programme I develop, I get this message:
2024-10-02 08:09:20.2751|WARN|Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer||||The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert.|||ListenOptionsHttpsExtensions.UseHttps => KestrelServerOptions.ApplyDefaultCertificate => KestrelServerOptions.GetDevelopmentCertificateFromStore
This has a lot of nasty sideeffects in other places.
I tried to accept it in various ways. The certificate is situated at
/home/username/.dotnet/corefx/cryptography/x509stores/my
I also converted it to a crt file by using this command:
openssl pkcs12 -in somehash.pfx -clcerts -nokeys -out dev-cert.crt
I also tried to make a new one with
dotnet dev-certs https --clean
dotnet dev-certs https --trust
Tried to trust it in Firefox by important it there (which of course isn’t fixing the terminal error).
I tried to import it system wide:
sudo cp dev-cert.crt /etc/ca-certificates/trust-source/anchors/
sudo trust extract-compat
Nothing the Internet provides me helped
Is there anybody who has tried that before and fixed it?
Kernel version is 6.1.106-1-MANJARO, I use 8.0.107