I am running ubuntu 18.04 and I have installed dotnet 2.1.302. I need help in trusting the developer certificates to run my aspnetcore app with https. So far I managed to import the certificates from /home/alberto/.dotnet/corefx/cryptography/x509stores/ca and /home/alberto/.dotnet/corefx/cryptography/x509stores/my in chrome but they still show untrusted. A search of the web only revealed how to create your own certificate and run it but I just need to use the ones by MS for development if possible. Any help appreciated!
Cheers, Alberto
There is no centralized way of trusting the a certificate on Linux
so you can do one of the following:
URL
you are using in your browsers exclude listlocalhost
https.crt
to the list of trusted certificates in your browser.See Configuring HTTPS in ASP.NET Core across different platforms and there are documentation links if you are using just Kestrel
or Kestrel
with reverse proxy like Apache
or Nginx
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With