cannot trust development https certificate in ubuntu 18.04.2 LTS #10174
Labels
area-commandlinetools
Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI
feature-devcerts
Describe the bug
Cannot trust development https certificate in ubuntu 18.04.2 LTS
A clear and concise description of what the bug is.
To Reproduce
This is what I tried to do to add the certificate
also tried setting the CURL_CA_BUNDLE env var like this:
$ export CURL_CA_BUNDLE=/usr/local/share/ca-certificates/dotnet_devel/localhost.crt
I keep getting the same curl error, more over, firefox and chrome tells me the connection is not secure
I think it is very necessary to provide and official guide telling how to configure it, at least in debian, arch and fedora based, with those distro yo have covered most cases.
Expected behaviour
curl should be able to access the https endpoint, browsers should not complain
Additional context
References
https://askubuntu.com/questions/645818/how-to-install-certificates-for-command-line/649463#649463
#7246 (comment)
https://curl.haxx.se/docs/sslcerts.html
The text was updated successfully, but these errors were encountered: