curl没有在s3fs中设置证书路径

时间:2019-09-17 21:12:18

标签: ssl curl certificate tls1.2 s3fs

按照CURL_CA_BUNDLE的s3fs代码,我将环境变量设置为保存crt包的路径。 当我使用s3fs触发mount命令时,我看到该代码不在指定路径中查找证书。

这是我看到的错误

* error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* Closing connection 0

我的证书路径在/ root下

~# ls -al  /root | grep minio-new-tls.crt
-rwxr-xr-x  1 root root   3859 Sep 17 07:11 minio-new-tls.crt

export CURL_CA_BUNDLE="/root/minio-new-tls.crt"

s3fs命令

s3fs secondbucket /home/two -o multireq_max=20 -o cipher_suites=AESGCM -o use_path_request_style -o passwd_file=/var/lib/passc-s3fs/6aa833c2db21c4e0cfe520f4f51b21a514bf504fde4a7cba24f46d7ee069edd3/passwd -o url=https://miniotls-minio-objectstore:9000 -o dbglevel=debug -f -o curldbg

0 个答案:

没有答案