Skip to content

crypto/x509: failed to load system roots and no roots provided. #8349

Description

@gopherbot

by introkun:

Distro is OpenELEC that run on Raspberry PI (ARM).

go version is 1.03beta

Error: x509: failed to load system roots and no roots provided.
Go tries to found CA certificates here:
"/etc/ssl/certs/ca-certificates.crt",     // Debian/Ubuntu/Gentoo etc.
"/etc/pki/tls/certs/ca-bundle.crt",       // Fedora/RHEL
"/etc/ssl/ca-bundle.pem",                 // OpenSUSE
"/etc/ssl/cert.pem",                      // OpenBSD
"/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly

But CA bundle on OpenELEC is located here: /etc/pki/tls/cacert.pem

Devs, could you please add the path also to codebase? Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions