Lazarus
Programming => Networking and Web Programming => Topic started by: cpalx on October 02, 2019, 01:24:42 pm
-
Hello, how can it work fpHTTPclient with last SSL?
i have a little program that works perfectly in Ubuntu 18.04, but not in Ubuntu 19.04
Lazarus 2.0.4
FPC 3.04
-
Similar problem already reported here:
https://forum.lazarus.freepascal.org/index.php/topic,39206.msg308413.html#msg308413
-
Yes.
Plz give the exact version: 1.1.1.c works as per my example in that thread.
Type in a terminal window and report back.
Note I use trunk and 3.2.0, NOT 3.0.4. (Also as per that thread)
Any openssl units necessary can be checked out from trunk and used in 3.0.4, btw: they do not contain code that uses new features.
And no: 3.0.4. will not receive that fix other than doing the above. In 3.0.4 you can also set the protocol to a minimum of tls 1.1. by hand. That also works.
-
openssl version
OpenSSL 1.1.1b
-
Hello, how can it work fpHTTPclient with last SSL?
i have a little program that works perfectly in Ubuntu 18.04, but not in Ubuntu 19.04
Lazarus 2.0.4
FPC 3.04
Updating to FPC 3.3.1 (trunk) and adding the OpenSSLSockets unit to the project was the solution for me.
See https://forum.lazarus.freepascal.org/index.php/topic,45962.msg325664.html#msg325664