New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto/x509: failed to load system roots and no roots provided. #8349
Labels
Milestone
Comments
does OpenELEC has openssl executable by default? I think we can add a catch-all case that invokes "openssl version -d" and use OPENSSLDIR/certs/ca-certificates.crt. This should solve the uncommon certificates location problem once and for all (if openssl is installed) Another solution would be to grep "#define OPENSSLDIR" in /usr/include/openssl/opensslconf.h, but i expect that not all system will install openssl development headers. |
1. Yes. OpenSSL is there: kitpi:~ # openssl version -d OPENSSLDIR: "/etc/pki/tls" kitpi:~ # ls -lah /etc/pki/tls total 262 drwxrwxr-x 2 root root 52 May 28 03:25 . drwxrwxr-x 3 root root 26 May 28 03:25 .. -rw-rw-r-- 1 root root 250.8K May 28 03:25 cacert.pem -rw-r--r-- 1 root root 10.6K May 28 03:25 openssl.cnf 2. >> /usr/include/openssl/opensslconf.h There is no such path/file. |
@introkun, would you please test https://golang.org/cl/147320043 _immediately_ so we can propose it for inclusion in Go 1.4 |
This issue was closed by revision 19104dc. Status changed to Fixed. |
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jun 25, 2018
Fixes golang#8349. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/147320043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jun 26, 2018
Fixes golang#8349. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/147320043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 9, 2018
Fixes golang#8349. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/147320043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 30, 2018
Fixes golang#8349. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/147320043
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by introkun:
The text was updated successfully, but these errors were encountered: