Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There should be a version of HCHttpCallRequestSetSSLValidation for web sockets #679

Open
StephenE opened this issue Mar 28, 2022 · 3 comments

Comments

@StephenE
Copy link

I am adding support for Web Sockets to our title, and have been testing my work with a very simple locally run echo server. Everything works fine when testing over http, but switching to https fails as I am just using a self signed certificate for local testing.

For making HTTP calls, I call HCHttpCallRequestSetSSLValidation to skip the ssl validation, but there is no equivilent for web sockets. I found HCWebSocketSetProxyDecryptsHttps, and using a debugger to skip the empty proxy check was able to get a connection open over https with the ssl check bypassed. This is not sustainable in the long term, as I can't expect other developers to stick a breakpoint in a random bit of code and set a random variable to true.

Please consider adding a new function along the lines of HCWebSocketSetSSLValidation, which when called disables the SSL validation step.

@jplafonta
Copy link
Collaborator

Thanks for the feedback. We will open a work item for this and hopefully get that work scheduled soon. Will leave this github issue open for the time being and reply here with progress.

@stonstad
Copy link

Has this issue been resolved?

@StephenEdmondsPG
Copy link

I ran into this issue myself today, same repo - using a self signed certificate, not able to skip the SSL validation checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants