Quantcast
Channel: KVR Audio
Viewing all articles
Browse latest Browse all 5114

DSP and Plugin Development • Re: "CURL" web connection issues on some computers

$
0
0
Now that I have this info what does it mean and - more importantly - how do I fix it?
It means an error occurred during execution of the TLS/SSL handshake protocol while establishing a secure connection. There can be several causes:

* Client & server cannot agree on TLS protocol version. Not likely, since you supplied the client, although you might give the client a flag to force it into eg TLS 1.2
* Client cannot verify the Certificate Authority presented in the certificate chain presented by your server.

You can supply the CA root certificate (in java an extra 20 lines of messy code) but this is not guaranteed to work of there is a man in the middle changing certificates.

Some ideas:
* Supply flag VERBOSE to libcurl, capture the debug log and print it in case of errors. This gives more detailed info on what exactly went wrong
* Back to plain http. What is more important here: a secure line or robustness? You can do encryption yourself instead of relying on https. Less messy, less code, less headaches, always works.

Statistics: Posted by BertKoor — Sat Apr 27, 2024 7:13 am



Viewing all articles
Browse latest Browse all 5114

Trending Articles