mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #665] "/etc/pki/tls/certs/ca-bundle.crt is not readable" on Ubuntu 16.04 #378
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#378
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wheelerlaw on GitHub (Oct 31, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/665
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Version of s3fs being used (s3fs --version)
Amazon Simple Storage Service File System V1.79(commit:unknown) with GnuTLS(gcrypt)Version of fuse being used (pkg-config --modversion fuse)
2.9.4-1ubuntu3.1System information (uname -a)
Linux DEV-M-234SW 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/LinuxDistro (cat /etc/issue)
Ubuntu 16.04.3 LTS \n \ls3fs command line used (if applicable)
noneif you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
s3fscan't find theca-bundle.crton Ubuntu 16.04 after a fresh installation of the package using apt-get. This this issue suggests that theca-bundleis located elsewhere. I haven't tried created a symbolic link or building s3fs from source yet.@wheelerlaw commented on GitHub (Oct 31, 2017):
Looks like an issue in LocateBundle(curl.cpp:689). Comment states that it will look in various places, but it actually only looks in one that is specific to Redhat (
/etc/pki/tls/certs/ca-bundle.crt). Not sure though.@wheelerlaw commented on GitHub (Oct 31, 2017):
Running
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crtallowed me to connect to the ECS instance. Buts3fsshould really be looking for the CA bundle in different places based on the distro.@ggtakec commented on GitHub (Nov 5, 2017):
@wheelerlaw Thanks a report.
I changed the logic of S3fsCurl :: LocateBundle for fixing this by #670.
Originally, it searches libcurl for the CA file path corresponding to each OS, but if it still becomes the error CURLE_SSL_CACERT, it should have done the operation to set the environment variable.
This process was corrected because there was a problem, another value was to be set again after the CA path of the environment variable was set.
Now, fixed it, please try to test latest codes,
I'm closing this issue, but if you have a problem, please reopen this issue.
Thanks in advance for your assistance.