Failed to authenticate HTTPS connection

未关闭
#55,898 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
linux
领域
documentation

调研方向

从 docs/core/additional-tools/self-signed-certificates-guide.md 开始,并在所报告的 Ubuntu 环境中按照链接页面上的自签名证书步骤进行操作。重现 HTTPS 身份验证失败,然后验证指南中的说明是否有效,或清楚地说明所需的修正。

由索引模型根据 Issue 内容生成。

描述

:watch: Not Triaged dotnet-fundamentals/svc
Type of issue

Code does not work (https://learn.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide#with-openssl)

Description

{"@timestamp":"2026-09-07T14:27:11.4263787+08:00","log.level":"Debug","message":"Failed to authenticate HTTPS connection.","ecs.version":"9.0.0","log":{"logger":"Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware"},"labels":{"MessageTemplate":"Failed to authenticate HTTPS connection.","ConnectionId":"0HNOCL46D0GN7"},"agent":{"type":"Elastic.CommonSchema.Serilog","version":"9.0.0+608d9254e808806db6cd119e9af00ab7ae9402c2"},"error":{"message":"Received an unexpected EOF or 0 bytes from the transport stream.","stack_trace":"System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.\n   at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken)\n   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)\n   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)","type":"System.IO.IOException"},"event":{"action":"AuthenticationFailed","code":"1","created":"2026-09-07T14:27:11.4263787+08:00","severity":1,"timezone":"Singapore Standard Time"},"host":{"os":{"full":"Ubuntu 26.04.1 LTS","platform":"Unix","version":"7.0.0.31"},"architecture":"X64","hostname":"khteh-p17-2i"},"process":{"name":"dotnet","pid":741778,"thread.id":13,"thread.name":".NET TP Worker","title":""},"service":{"name":"Web.Api","type":"dotnet","version":"1.0.0+0ed27246b6c6429d8a0927d4098a519556e385e7"},"user":{"domain":"khteh-p17-2i","name":"khteh"},"metadata":{"ExceptionDetail":{"Type":"System.IO.IOException","HResult":-2146232800,"Message":"Received an unexpected EOF or 0 bytes from the transport stream.","Source":"System.Net.Security","TargetSite":"Void MoveNext()"},"MemoryUsage":195117056}}
Page URL

https://learn.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/additional-tools/self-signed-certificates-guide.md

Document Version Independent Id

19debb34-1672-c5bc-395b-2ec523c25b8f

Platform Id

19f0575d-c352-274f-8884-7bb465911a92

Article author

@angee

Metadata
  • ID: 129ac9c9-bab2-7ae0-75f8-cf3b7ad16a56
  • PlatformId: 19f0575d-c352-274f-8884-7bb465911a92
  • Service: dotnet-fundamentals

Related Issues

主要语言
没有语言数据
星标
4.8k
派生
6.1k
平均合并
1 天 1 小时
30 天内合并 PR
305

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/docs 的其他 Issue

查看 dotnet/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。