Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Empty X509Chain in AppleTLS ServicePointManager.ServerCertificateValidationCallback #10198

@mfilippov

Description

@mfilippov

Steps to Reproduce

  1. Setup custom delegate to ServicePointManager.ServerCertificateValidationCallback
  2. Call any HTTPS server with the untrusted root certificate.

Current Behavior

chain parameter has empty "ChainElements" property

Expected Behavior

ChainElements should contain server sent a certificate chain. I see this behaviour for Btls provider and Windows .NET Framework.

On which platforms did you notice this

[x ] macOS
[ ] Linux
[ ] Windows

Version Used:
5.4.0.177

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions