Re: [fpc-pascal] client certificate mandatory and verification

2024-04-10 Thread Tony Whyman via fpc-pascal
If you want to use OpenSSL then you might be interesting in trying out my proposed update to the Indy components. This is to support the latest versions of OpenSSL and can be downloaded from: https://github.com/MWASoftware/Indy.proposedUpdate There is a test case in Test/OpenSSL/openssl-server

Re: [fpc-pascal] client certificate mandatory and verification

2024-04-09 Thread Flávio Etrusco via fpc-pascal
Hello, This doesn't seem to have an easy solution right now. Many of the functions needed to set up openssl for this doesn't even seem to have imports in the FPC package. You'd then have to import the functions and implement a custom TSSLSocketHandler, and then hook it using either (fphttpapp.)App

[fpc-pascal] client certificate mandatory and verification

2024-03-23 Thread Jos Wegman via fpc-pascal
Hi, Out of the info on the wiki I created a simple Webserver with a server-certificate. To get this code working you need to create the necessary certificate. For this I used xca from https://hohnstaedt.de but you can use OpenSSL to do the same. [code=pascal] program webserver; {$mode objf