Hi! I’d like to do Asp Net Core Development on Manjaro but I can’t find a way to trust a self-signed certificate system-wide. openssl-verify always fail, I have been trying the following:
sudo trust anchor --store localhost.crt and do sudo update-ca-trust
manually moving localhost.crt to /etc/ca-certificates/trust-source/anchors/ and doing sudo update-ca-trust
The first two things but I also added sudo trust extract-compat
No matter what I do, openssl-verify always fail. Chrome says the site is insecure. I also tried to directly import the .crt and a .pfx in chrome. Does not work. Also, my project has Kestrel configured with the proper pfx and password.
Please someone help me with this, I’m desperate for answers.
I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.
However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or or if you agree)
P.S. In the future, please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.