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

日志报 ssl证书过期 #20

Closed
starpipi opened this issue Feb 10, 2023 · 2 comments · Fixed by #22
Closed

日志报 ssl证书过期 #20

starpipi opened this issue Feb 10, 2023 · 2 comments · Fixed by #22

Comments

@starpipi
Copy link

通过curl模拟钉钉推过来的消息测试连通性。
日志显示请求openai的api的ssl证书过期。实际官方证书确实没过期。

本地使用curl访问也提示过期。
尝试将openai的证书下载并添加到机器的 /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem后
curl已经不提示过期。

但是在go中请求仍旧提示ssl证书过期。

没写过go,请问有办法忽略ssl证书吗?或者有什么地方能够配置?
image
image
image

@starpipi
Copy link
Author

暂时用docker跑了 规避掉此问题

@eryajf eryajf linked a pull request Feb 10, 2023 that will close this issue
@eryajf
Copy link
Owner

eryajf commented Feb 10, 2023

添加了ssl的忽略,稍后你可以验证下最新版本

见: #22

@eryajf eryajf closed this as completed Feb 10, 2023
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

Successfully merging a pull request may close this issue.

2 participants