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

在写入es时,我们的es开启了证书认证怎么办? #200

Open
wzhlinux opened this issue Aug 12, 2021 · 8 comments
Open

在写入es时,我们的es开启了证书认证怎么办? #200

wzhlinux opened this issue Aug 12, 2021 · 8 comments

Comments

@wzhlinux
Copy link

我看配置中只有填写user pass的地方,没有证书目录

@xlsa
Copy link

xlsa commented Aug 30, 2021

同问,请问有解决办法吗?或者忽略证书校验。

@ringtail
Copy link
Member

具体的认证方式是哪一种

@PungYoung
Copy link

同样遇到,有办法吗?除了关闭ES的tls

@PungYoung
Copy link

自签证书

@PungYoung
Copy link

@xlsa 估计只有自己写下 signingTransport := AWSSigningTransport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}代码

@ringtail
Copy link
Member

@xlsa 估计只有自己写下 signingTransport := AWSSigningTransport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}代码

这相当于直接跳过认证了

@zhuhao22
Copy link

zhuhao22 commented Aug 3, 2022

@xlsa 估计只有自己写下 signingTransport := AWSSigningTransport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}代码

请问加过之后成功了吗

@wangmian123
Copy link

试试把crt文件导入到/etc/ssl/certs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants