Home » U++ Library support » U++ Core » [SOLVED] Purpose of HttpRequest::SSLCertificate
[SOLVED] Purpose of HttpRequest::SSLCertificate [message #51438] |
Mon, 25 March 2019 16:55 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
Hello Upp,
I'm trying to use custom certificats with HttpRequest so I did somethink like this :
requete3.SSLCertificate("TEST","TEST",false );
I was expecting to retrieve this keyWord "TEST" into <Core/SSL> socket.cpp Start() Function by using debug mode but the fact is I never find "TEST" Keyword.
Is it a bug or I just didnt understand the use case of SSLCertificate ?
Another Question, this method is used to set the certificate used to handshake with the server ?
Can someone explain me how Core/SSL select the right certificate to handshake the server ?
PS : Theide version is 12883, Compiled 03/24/2019 01:32:00 (the latest version atm)
Thanks in advance.
Best regard
[Updated on: Tue, 26 March 2019 16:18] Report message to a moderator
|
|
|
|
|
Re: Purpose of HttpRequest::SSLCertificate [message #51447 is a reply to message #51438] |
Tue, 26 March 2019 12:30 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
the socket cert and pkey data is reseted when HttpRequest::Execute() is called due to :
call of void HttpRequest::StartConnect() in DNS phase
by modifing the method a bit it work. Is there any way to do Execute method specify a Phase ?
If you want I could do a fix then post it here.
[Updated on: Tue, 26 March 2019 13:31] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 12:09:20 CET 2024
Total time taken to generate the page: 0.01398 seconds
|