Lazarus

Programming => Networking and Web Programming => Topic started by: cpalx on October 02, 2019, 01:24:42 pm

Title: fphttpclient does work winth last ssl
Post 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
Title: Re: fphttpclient does work winth last ssl
Post by: Handoko on October 02, 2019, 02:20:48 pm
Similar problem already reported here:

https://forum.lazarus.freepascal.org/index.php/topic,39206.msg308413.html#msg308413
Title: Re: fphttpclient does work winth last ssl
Post by: Thaddy on October 02, 2019, 02:27:32 pm
Yes.
Plz give the exact version: 1.1.1.c works as per my example in that thread.
Type
Code: Bash  [Select][+][-]
  1. openssl version
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.
Title: Re: fphttpclient does work winth last ssl
Post by: cpalx on October 10, 2019, 12:09:55 am
openssl version
OpenSSL 1.1.1b
Title: Re: fphttpclient does work winth last ssl
Post by: trev on October 10, 2019, 01:52:08 am
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
TinyPortal © 2005-2018