[fpc-pascal] HTTPS Client certificate in TFPHTTPServer

2022-08-28 Thread Fabio Luis Girardi via fpc-pascal
Hi! Now that I'm able to use TFPHTTPServer and HTTPS, I want to know how to use the certificate of HTTPS client to authenticate a session on TFPHTTPServer. This is possible? If yes, how to do that? Examples or pointing some docs are welcome. The best regards, Fabio Luis Girardi PascalSCADA

Re: [fpc-pascal] https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ : Missing install.sh

2021-07-07 Thread Tomas Hajny via fpc-pascal
On 2021-07-06 22:37, Jean Pierre CASSOU via fpc-pascal wrote: https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ Missing install.sh This file is included in the fpcbuild package (either zip, or tar.gz), in particular in subdirectory "install". Apart from that - I assume that

Re: [fpc-pascal] https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ : Missing install.sh

2021-07-07 Thread Marco van de Voort via fpc-pascal
Op 2021-07-06 om 22:37 schreef Jean Pierre CASSOU via fpc-pascal: https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ <https://sourceforge.net/projects/freepascal/files/Source/3.2.2/> Missing install.sh Install is a script to install _binary_ releases, and i

[fpc-pascal] https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ : Missing install.sh

2021-07-07 Thread Jean Pierre CASSOU via fpc-pascal
https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ Missing install.sh___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] HTTPS with fphttpclient

2017-08-30 Thread Michael Van Canneyt
On Tue, 29 Aug 2017, kristakis wrote: Hi, I'd like to make a request to a HTTPS address with TfpHTTPClient but am getting an unknown protocol error. I'm running fpc 2.6.4 on Rasbian 8 (Jessie) on a Pi 3. Here's the source code: You need version 3.0.2 or 3.0.0 for this to work. Michael.

[fpc-pascal] HTTPS with fphttpclient

2017-08-30 Thread kristakis
Hi, I'd like to make a request to a HTTPS address with TfpHTTPClient but am getting an unknown protocol error. I'm running fpc 2.6.4 on Rasbian 8 (Jessie) on a Pi 3. Here's the source code: program test2; {$mode objfpc}{$H+} uses fphttpclient; begin

Re: [fpc-pascal] https how does it work

2017-03-13 Thread Tony Whyman
Thanks. It's good to know this. Perhaps the Indy site at http://www.indyproject.org should be updated to reflect this. You have to dig very deep to find the links to the svn (and labelled as a development snapshot). The last source code package appears to be the 2004 release 10.0.52. With the

Re: [fpc-pascal] https how does it work

2017-03-13 Thread Bo Berglund
On Thu, 16 Feb 2017 14:18:28 +, Tony Whyman wrote: >The downside is that the indy components do not seem to have been >updated for a long time and have not kept up-to-date with OpenSSL. I >have attached below a patch I have used to keep the components

Re: [fpc-pascal] https how does it work

2017-02-16 Thread Tony Whyman
You can always use the indy components. They have a working https implementation which I have successfully used in a SOAP based application and Lazarus's WST package. (see http://wiki.lazarus.freepascal.org/Indy_with_Lazarus). The downside is that the indy components do not seem to have been

Re: [fpc-pascal] https how does it work

2017-02-16 Thread Michael Van Canneyt
On Thu, 16 Feb 2017, Rainer Stratmann wrote: How does httpy work, what is needed? TLS/SSL library? Yes. The ssockets unit has the ability to set up a TLS/SSL connection. It uses openssl as a library. You can check the fphttpclient unit to see how this is done. The fphttpserver currently

[fpc-pascal] https how does it work

2017-02-16 Thread Rainer Stratmann
How does httpy work, what is needed? TLS/SSL library? A http webserver without encryption I programed already on my own and wanted to integrate https. Is there any example code of https? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] https support; call for testers

2015-09-03 Thread Michael Van Canneyt
On Wed, 2 Sep 2015, sami wrote: Hi Again, I did it work but still having problems Thres two patches attached for sscokets.pp and fphttpserver.pp Using TSSLSocketHandler worked, but i think it is not for use with concurrency TSSLSocketHandler use FSSL: TSSL; object that is freed at the

Re: [fpc-pascal] https support; call for testers

2015-09-02 Thread sami
Hi Again, I did it work but still having problems Thres two patches attached for sscokets.pp and fphttpserver.pp Using TSSLSocketHandler worked, but i think it is not for use with concurrency TSSLSocketHandler use FSSL: TSSL; object that is freed at the end of every connection if there´s

Re: [fpc-pascal] https support; call for testers

2015-08-31 Thread sami
Hi all, I´m follow the same ideia from fpHttpClient by use a event to handle the creation of TSSLSocketHandler for fpHttpServer. the event handler was implemented this way: procedure TForm1.sockHandleEvent(Sender: TObject; const UseSSL: Boolean; out aHandler: TSocketHandler); var h:

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread sami
leledumbo wrote You can't yet, the support is still in fphttpclient only for now. Can i implement it just like in fpHttpClient and upload a patch ? or in server-side it is more complicated or have different approach than client-side ? In fact i trying to write a more complete server that can

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread Michael Van Canneyt
On Thu, 27 Aug 2015, sami wrote: leledumbo wrote You can't yet, the support is still in fphttpclient only for now. Can i implement it just like in fpHttpClient and upload a patch ? or in server-side it is more complicated or have different approach than client-side ? You can try. But it

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread sami
2yf8lThanks, Let me learn more about server(and clients) certificates to try to not waste your time with dummy questions, I'll try to study sample codes of others open source web framework, i think it can help. See you later. -- View this message in context:

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread sami
Hi to all. Michael Van Canneyt wrote I have tested on windows and unix, the support for client-side SSL support works. Server-side support (as could be done in the embedded httpserver) is not yet tested. I Could not find how to enable server-side support for https on fphttpserver/

Re: [fpc-pascal] https support; call for testers

2015-08-26 Thread leledumbo
I Could not find how to enable server-side support for https on fphttpserver/ fpcustomhttpserver, There´s no OnGetSocketHandler event on it. How do i enable https support on fpHttpServer. You can't yet, the support is still in fphttpclient only for now. -- View this message in context:

Re: [fpc-pascal] https support; call for testers

2014-04-14 Thread Reinier Olislagers
On 13/04/2014 22:29, Michael Van Canneyt wrote: On Sun, 13 Apr 2014, Reinier Olislagers wrote: On 11/04/2014 15:27, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: If you want to use client side certificates with httpclient, how would you do specify that? I don't

Re: [fpc-pascal] https support; call for testers

2014-04-13 Thread Reinier Olislagers
On 11/04/2014 15:27, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. snip I have tested on windows and unix, the support for client-side SSL support works. I would

Re: [fpc-pascal] https support; call for testers

2014-04-13 Thread Michael Van Canneyt
On Sun, 13 Apr 2014, Reinier Olislagers wrote: On 11/04/2014 15:27, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. snip I have tested on windows and unix, the

Re: [fpc-pascal] https support; call for testers

2014-04-12 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Dimitrios Chr. Ioannidis wrote: Hi, Στις 11/4/2014 4:00 μμ, ο/η Michael Van Canneyt έγραψε: I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. snip I would like to invite people to test and report if they

[fpc-pascal] https support; call for testers

2014-04-11 Thread Michael Van Canneyt
Hello, I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. One consequence of this is that the fphttpclient unit now has support for the https:// protocol. I have tested on windows and unix, the support for client-side SSL support

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Reinier Olislagers
On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. snip I have tested on windows and unix, the support for client-side SSL support works. I would like to invite people to test and report if they

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. snip I have tested on windows and unix, the support for client-side SSL support works. I would

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Dimitrios Chr. Ioannidis
Hi, Στις 11/4/2014 4:00 μμ, ο/η Michael Van Canneyt έγραψε: I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. snip I would like to invite people to test and report if they find problems or missing features. the

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread silvioprog
Michael Van Canneythttp://www.mail-archive.com/search?l=fpc-pascal@lists.freepascal.orgq=from:%22Michael+Van+Canneyt%22 Fri, 11 Apr 2014 06:01:08 -0700http://www.mail-archive.com/search?l=fpc-pascal@lists.freepascal.orgq=date:20140411 Hello, I've just committed support for SSL in the

[fpc-pascal] https

2011-06-15 Thread Rainer Stratmann
Is there a solution for https somewhere? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] https

2011-06-15 Thread ik
On Wed, Jun 15, 2011 at 17:32, Rainer Stratmann rainerstratm...@t-online.de wrote: Is there a solution for https somewhere? What do you mean exactly ? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] https

2011-06-15 Thread Rainer Stratmann
Am Wednesday 15 June 2011 16:42:16 schrieb ik: On Wed, Jun 15, 2011 at 17:32, Rainer Stratmann rainerstratm...@t-online.de wrote: Is there a solution for https somewhere? What do you mean exactly ? As I understand from here http://forum.lazarus.freepascal.org/index.php?topic=6361.0 and

RE : [fpc-pascal] https

2011-06-15 Thread Ludo Brands
Stratmann Envoyé : mercredi 15 juin 2011 17:02 À : FPC-Pascal users discussions Objet : Re: [fpc-pascal] https Am Wednesday 15 June 2011 16:42:16 schrieb ik: On Wed, Jun 15, 2011 at 17:32, Rainer Stratmann rainerstratm...@t-online.de wrote: Is there a solution for https somewhere

Re: [fpc-pascal] https

2011-06-15 Thread ik
On Wed, Jun 15, 2011 at 18:01, Rainer Stratmann rainerstratm...@t-online.de wrote: Am Wednesday 15 June 2011 16:42:16 schrieb ik: On Wed, Jun 15, 2011 at 17:32, Rainer Stratmann rainerstratm...@t-online.de wrote: Is there a solution for https somewhere? What do you mean

Re: [fpc-pascal] https

2011-06-15 Thread michael . vancanneyt
On Wed, 15 Jun 2011, ik wrote: On Wed, Jun 15, 2011 at 18:01, Rainer Stratmann rainerstratm...@t-online.de wrote: Am Wednesday 15 June 2011 16:42:16 schrieb ik: On Wed, Jun 15, 2011 at 17:32, Rainer Stratmann rainerstratm...@t-online.de wrote: Is there a solution for https somewhere?

Re: [fpc-pascal] [HTTPS]: Looking for a ssl http client

2006-11-30 Thread TOUZEAU DAVID
Yes The problem is fixed now by adding libssl.so.0 link Lukas Gebauer a écrit : Currently synpase doesn't working with ssl mode but if you want to do this in linux environement LibCurl is a good way and do that you want... http://curl.haxx.se/libcurl/pascal/ The only problem that it require

Re: [fpc-pascal] [HTTPS]: Looking for a ssl http client

2006-11-29 Thread Lukas Gebauer
Currently synpase doesn't working with ssl mode but if you want to do this in linux environement LibCurl is a good way and do that you want... http://curl.haxx.se/libcurl/pascal/ The only problem that it require *.so curl files to provide into your applications.. So i want to find the

Re: [fpc-pascal] [HTTPS]: Looking for a ssl http client

2006-11-28 Thread TOUZEAU DAVID
Currently synpase doesn't working with ssl mode but if you want to do this in linux environement LibCurl is a good way and do that you want... http://curl.haxx.se/libcurl/pascal/ The only problem that it require *.so curl files to provide into your applications.. So i want to find the problem