Skip to content

unable to ignore certificate check #3

Open

Description

@hong-heng

I am in the development of creating a client app to connect to web socket server in windows 7 environment both ws and wss, and I'd like to ignore the certificate check during development.

following code works, with System.Net.WebSockets.ClientWebSocket
System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };

however when using System.Net.WebSockets.Manage.ClientWebSocket, its doesn't work and couldn't connect to websocket server.

Any extra configuration has to be done in this managed version?

Activity

  1. changed the title [-]unable to [/-] [+]unable to ignore certificate check[/+] on May 26, 2018
  2. DAshok7814 commented on Jul 8, 2022

    @DAshok7814

    is there any solution for the above issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions