gpt4 book ai didi

c# - Postman 错误 : "Unable to verify the first certificate" when try to get from my .net core api

转载 作者:行者123 更新时间:2023-12-03 17:17:49 32 4
gpt4 key购买 nike

我有我全新的 .NET Core 服务和 API,我想获取其中的项目列表。它托管在本地主机上,我总是有这个错误:

16 ms
Warning: Unable to verify the first certificate
Network
Request Headers
User-Agent: PostmanRuntime/7.26.8
Accept: */*
Postman-Token: e64e10c3-8e3a-4b47-9427-d994e2bdc9fd
Host: localhost:44397
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Request Body
Response Headers
Transfer-Encoding: chunked
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Date: Tue, 19 Ja

n 2021 14:06:14 GMT
Response Body
如何解决?我禁用/启用 SSL 认证,但没有帮助。

最佳答案

有 3 个地方可以禁用 ssl 验证:

  • 请求级别:确保关闭

  • enter image description here
  • 全局级别:(请求级别优先)

  • enter image description here
  • 删除客户端和 CA 证书,将其关闭:

  • enter image description here

    关于c# - Postman 错误 : "Unable to verify the first certificate" when try to get from my .net core api,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65793225/

    32 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com