Skip to content

X509RevocationMode.Online cause different result on Linux and Windows #27457

Closed
@AvailCat

Description

@AvailCat

Demo project:
project.zip

Environment:
.NET Core 2.1 on Windows 10 and Debian 9

Steps to reproduce:
Download the demo project and run it on Windows and Linux.
It will print "Cert valid? True" on Windows, and "Cert valid? False" on Linux with exception.

image

About the demo:
A HttpClient with ServerCertificateCustomValidationCallback, Set ChainPolicy.RevocationMode = X509RevocationMode.Online in callback

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions