Hi, hope someone out there can help.
Using C++ and the WinINet API to perform HTTP non-interactive login with SSL. I am geting the error ERROR_WINHTTP_SECURE_CHANNEL_ERROR when calling HttpSendRequest() to log in for the first time.
I followed the API-NG Reference guide to generate a self-signed certificate with OpenSSL, uploaded the .pem to Betfair, loaded it into certificate store, set it on the open session with InternetSetOption(), all good so far. Then I try and send the request to login with HttpSendRequest() but fails with the above error - there's little documentation on MSDN about this error.
Is there an amount of time I need to wait from uploading the .pem to Betfair, and it being usable? It's been < 24 hours.
Regards,
Alex
Using C++ and the WinINet API to perform HTTP non-interactive login with SSL. I am geting the error ERROR_WINHTTP_SECURE_CHANNEL_ERROR when calling HttpSendRequest() to log in for the first time.
I followed the API-NG Reference guide to generate a self-signed certificate with OpenSSL, uploaded the .pem to Betfair, loaded it into certificate store, set it on the open session with InternetSetOption(), all good so far. Then I try and send the request to login with HttpSendRequest() but fails with the above error - there's little documentation on MSDN about this error.
Is there an amount of time I need to wait from uploading the .pem to Betfair, and it being usable? It's been < 24 hours.
Regards,
Alex


Comment