-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
HTTP模块调用第三方应用报错:self-signed certificate in certificate chain #1837
Comments
看着是这个地址就是错的 |
请问是哪个地址错了呢?fastgpt那个还是第三方应用,能不能给一个正确的例子呢?谢谢 |
请求的接口报错。和fastgpt没关系。 |
是请求的接口报错:self-signed certificate in certificate chain,这个错是fastgpt没有部署ansible的自签发证书。问题是我们在Fastgpt部署了ansible的根证书还会报这个错。但在其他的应用中同样的根部署,同样的调用就可以成功。所以想理解下fastgpt调用根证书是怎么调的,是不是我们部署得有问题。 |
没啥特殊操作,就是正常 request 。而且证书问题,应该是目标服务的问题吧,和请求方怎么部署会有关系么。 |
我这边也复现了,在nginx上部署了AD CS生成的内网证书,代理searxng服务,浏览器访问、curl都可以正常访问https,但在fastgpt里调用时就会报这个错误 |
#1830 |
例行检查
你的版本
问题描述, 日志截图
我们在 HTTP模块中调用ansible的api, ansible是自签发证书,我们也在Fastgpt这边部署了ansible的根证书,但是调用的时候报错:
{
"error": {
"message": "self-signed certificate in certificate chain",
"name": "Error",
"method": "post",
"baseURL": "
http://fastgpt-xxxxxx:3000/"
,
"url": "
https://awx.apps.os.xxxxxx.com/api/v2/job_templates/116/launch/"
,
"code": "SELF_SIGNED_CERT_IN_CHAIN"
}
复现步骤
预期结果
能够顺利调用到自签发证书的第三方应用
相关截图
{
"error": {
"message": "self-signed certificate in certificate chain",
"name": "Error",
"method": "post",
"baseURL": "
http://fastgpt-xxxxxx:3000/"
,
"url": "
https://awx.apps.os.xxxxxx.com/api/v2/job_templates/116/launch/"
,
"code": "SELF_SIGNED_CERT_IN_CHAIN"
}
The text was updated successfully, but these errors were encountered: