We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
libcurl默认的cacert路径是CURL_CA_BUNDLE,这个路径在编译时确定,在ContOS默认的是/etc/pki/tls/certs/ca-bundle.crt,在Ubuntu中默认的是/etc/ssl/certs/ca-certificates.crt,那么如果在ContOS中编译在Ubuntu中运行,会出现报错:ErrorCode=NetworkError, ErrorMessage=error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt。 希望参考curl的实现,运行时CURL_CA_BUNDLE,来支持运行时设置cacert的路径。
CURL_CA_BUNDLE
ErrorCode=NetworkError, ErrorMessage=error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
libcurl默认的cacert路径是
CURL_CA_BUNDLE
,这个路径在编译时确定,在ContOS默认的是/etc/pki/tls/certs/ca-bundle.crt,在Ubuntu中默认的是/etc/ssl/certs/ca-certificates.crt,那么如果在ContOS中编译在Ubuntu中运行,会出现报错:ErrorCode=NetworkError, ErrorMessage=error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt
。希望参考curl的实现,运行时
CURL_CA_BUNDLE
,来支持运行时设置cacert的路径。The text was updated successfully, but these errors were encountered: