Skip to content

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

@ShipinZ

Description

@ShipinZ

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions