Skip to content

Add support for RemoteCertificateValidationCallback with ClientWebSocket #18696

@BravoTango86

Description

@BravoTango86

There is no way of overriding the validation of server certificates on an SslStream utilised by ClientWebSocket.

Could this be exposed through ClientWebSocketOptions?

EDIT 3/5/2018 by @stephentoub. Added proposal:

public sealed class ClientWebSocketOptions
{
    public RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; set; }
    ...
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions