Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Winhttp SSL - private key error 12185

$
0
0

Requirement and Input data:

Our client has deployed a webserver (Tomcat) configured for SSL support. we need to implement a cleint in C++ which will communicate to server for sending and receiving data.

we have been provided two certificate files (CACerts.jks and PMKeystore.jks) and HTTPS URLs to request the data.

Problem:

we tried to write a client using winhttp and crypt32 libraries but not able to send the request correctly with winhttp error code 12185 [ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY]

any help in this regard would be highly appreciated.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>