Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

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.