{"@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}}
Type of issue
Code does not work (https://learn.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide#with-openssl)
Description
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
Related Issues