Skip to content
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: add /usr/local/share/ca-certificates to certificate directories #23217

Closed
mmiranda96 opened this issue Dec 21, 2017 · 2 comments
Closed

Comments

@mmiranda96
Copy link

@mmiranda96 mmiranda96 commented Dec 21, 2017

This is the default ca-certificate path in Debian/Ubuntu. Similar to this issue.

@adamdecaf
Copy link
Contributor

@adamdecaf adamdecaf commented Dec 21, 2017

What version of ubuntu is this for?

The update-ca-certificates tool mentions these belong in /usr/share/ca-certificates. (Ubuntu 17.10)

root@b3ac6efab8f7:/# cat /etc/ca-certificates.conf 
# This file lists certificates that you wish to use or to ignore to be
# installed in /etc/ssl/certs.
# update-ca-certificates(8) will update /etc/ssl/certs by reading this file.
#
# This is autogenerated by dpkg-reconfigure ca-certificates.
# Certificates should be installed under /usr/share/ca-certificates
# and files with extension '.crt' is recognized as available certs.
#
# line begins with # is comment.
# line begins with ! is certificate filename to be deselected.
#

Go reads a bundle file from /etc/ssl/certs/ca-certificates.crt in this case which update-ca-certificates generates.

@mmiranda96
Copy link
Author

@mmiranda96 mmiranda96 commented Dec 21, 2017

I'm using Debian 9.3, but it seems I was wrongly installing a certificate. Sorry for the inconvenience.

@mmiranda96 mmiranda96 closed this Dec 21, 2017
@golang golang locked and limited conversation to collaborators Dec 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.