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

自建服务端报错,【DEPTH_ZERO_SELF_SIGNED_CERT】 self signed certificate #5

Open
ShipinZ opened this issue Mar 20, 2022 · 2 comments

Comments

@ShipinZ
Copy link

ShipinZ commented Mar 20, 2022

我在尝试按照【原理说明】中的教程自建服务的出现了以下错误

DevSidecar Error:
目标网站请求错误:【DEPTH_ZERO_SELF_SIGNED_CERT】 self signed certificate
目标地址:https://*******:443/xxxxx/www.google.com/search?q=55&oq=55&aqs=chrome..69i57j69i60l2.543j0j7&sourceid=chrome&ie=UTF-8

我初步判断是本地证书信任的问题,所以我尝试将服务端nginx中使用的crt证书证书文件,安装到本地【受信任的证书颁发机构】中,然后重启dev-sidercar,但是问题并没有解决,还是会出现同样的错误。我在百度上找的好多答案都是在代码中关闭node.js校验,但是作为用户来说有些不太友好。

我不太清楚是不是因为我遗漏了什么,导致这个结果

系统:win10 教育版
内部版本号:19044.1586

@greper
Copy link
Contributor

greper commented Mar 20, 2022

image

@ShipinZ
Copy link
Author

ShipinZ commented Mar 21, 2022

image

感谢作者的回复,问题已解决

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

2 participants