[GH-ISSUE #557] Disable SSL cert for websockets #207

Closed
opened 2026-03-16 14:02:23 +03:00 by kerem · 3 comments
Owner

Originally created by @and7ey on GitHub (Feb 6, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/557

There should be an option to disable SSL certificates validation for websockets.
Sample python example:
ws = websocket.WebSocket(sslopt={'cert_reqs': ssl.CERT_NONE}, origin='http://example.com/')

Originally created by @and7ey on GitHub (Feb 6, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/557 There should be an option to disable SSL certificates validation for websockets. Sample python example: `ws = websocket.WebSocket(sslopt={'cert_reqs': ssl.CERT_NONE}, origin='http://example.com/')`
kerem 2026-03-16 14:02:23 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Feb 7, 2020):

Are you using a self-signed cert for the purpose?

<!-- gh-comment-id:583203654 --> @liyasthomas commented on GitHub (Feb 7, 2020): Are you using a self-signed cert for the purpose?
Author
Owner

@and7ey commented on GitHub (Feb 7, 2020):

No.
Use websocket_client python library, https://github.com/websocket-client/websocket-client. FAQ there says that it disables ssl cert verification.
If I try to connect to the same webserver with postwoman, then connection is immediately closed. If I do it with python script and ssl cert verification disabled - it works fine.

<!-- gh-comment-id:583257804 --> @and7ey commented on GitHub (Feb 7, 2020): No. Use websocket_client python library, https://github.com/websocket-client/websocket-client. FAQ there says that it disables ssl cert verification. If I try to connect to the same webserver with postwoman, then connection is immediately closed. If I do it with python script and ssl cert verification disabled - it works fine.
Author
Owner

@liyasthomas commented on GitHub (Feb 8, 2020):

This seems to be a subset of #392 . And both implementation have same scope. Closing this issue temporarily for tracking the previously requested feature.

<!-- gh-comment-id:583678804 --> @liyasthomas commented on GitHub (Feb 8, 2020): This seems to be a subset of #392 . And both implementation have same scope. Closing this issue temporarily for tracking the previously requested feature.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#207
No description provided.