-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
http_client Connect to HTTPS server #18
Comments
Hi, take a look at https://casablanca.codeplex.com/SourceControl/latest#Release/samples/BingRequest/bingrequest.cpp. To use https, it should be as simple as changing the "http://" to "https://", assuming you have a valid certificate for your nodejs server. Alternatively, for testing purposes, you could disable certificate validation. |
but how to specify my certificate? |
Do you mean client side certificates? You didn't mention anything like that in the original question. |
/Do you mean client side certificates?/ /You didn't mention anything like that in the original question./ |
Then that's a different question entirely. I don't think cpprest currently supports client side certificates. You may be able to work around the limitation by getting access to the native handle and using platform specific code.
My apologies. |
Closing, since original question has been answered. Please feel free to open a separate issue about client side certificates. |
I've a webservice running in node.js under the protocol HTTPS.
Could someone give an insight of how to perform this connection? I can't figure it out.
Thanks in regards.
The text was updated successfully, but these errors were encountered: