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

How to connect to a proxy which requires ssl certificate and client certificate #501

Closed
yunhaoling opened this issue Jan 26, 2021 · 3 comments
Assignees

Comments

@yunhaoling
Copy link
Contributor

hey,

We're having a scenario that we want to connect to azure service via a proxy that requires ssl certificate (server certificate) and client certificate (client-side certificate) for client to authenticate the identity of the proxy server and proxy server to authenticate the identity of the client.

I found that the http_proxy_io.c only allows for setting username and password, it doesn't allow setting certificates and it has no underlying io settings (interface/config stuff).

Is it supported in the current library?
if it's supported, could you share me with the sample code how it works.

@ericwolz
Copy link
Contributor

Yes, it only supports "Basic" auth.

@yunhaoling
Copy link
Contributor Author

hey @ericwol-msft , I have made a PR which allows for the http proxy io to be built on top of tlsio: #512.

through this way, the server side tls certificate could be set on the underlying tlsio.

I'm not sure whether you have a guideline for the design, but I think we could collaborate on this together. :)

@ericwolz ericwolz self-assigned this Oct 5, 2021
@ewertons
Copy link
Contributor

ewertons commented Jan 2, 2024

@yunhaoling , thank you for your work on this feature.
Although we recognize you really put an effort on putting a PR together with the changes you needed for HTTP to be supported over TLS, at this point we do not plan on taking that into our code base as we have not reserved resources for curating and maintaining the changes. We will thus close this issue.
But again, thank you for your insights, and we will definitely revisit it if we find broader request for HTTPS PROXY support.
Azure IoT SDK Team.

@ewertons ewertons closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants