Replies: 7 comments
|
Typically, an SSL/TLS handshake is performed by the server only when a new TCP connection is made, before any HTTP request is received. That is how Apache implements per-server certificates. In Indy, this is done by assigning a Using per-domain certificates is not implemented at this time, but is being worked on (#160). To implement per-URL certificates, Apache forces an SSL/TLS renegotiation once an HTTP request has been parsed to know which URL is being requested. To perform that with Indy's use of OpenSSL, you will need to call OpenSSL's |
|
great answer as usual ;) I've just added this to configure the SSLconn (with a SSLOptions.VerifyMode = []) Do you know how I can invalidate the negociation in a /logout URL ? actually I have to close the navigator to clear the session. |
|
Yes ! I've found the answer |
|
Hello, After a while I'm back on this project, Unbuntu is now in version 20.04 and Delphi is Sydney, I use this repository source code for Indy...and my code do not work anymore... GetSSLLibHandle returns 0 (because LoadSSLLibrary returns IdNilHandle) it doesn't work either when defining USE_BASEUNIX...what is the pb ? Thanks |
|
Which platform are you targeting? When |
|
Ubuntu 20.04 64bits (just updated from 18.04) openssl version returns "OpenSSL 1.1.1f 31 Mar 2020" hum...after a apt-get isntall libssl-dev I do not have the error above anymore, but a EIdOSSLCouldNotLoadSSLLibray exception with it is expected for 1.1.1 if I understand well |
|
As I said, |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'de like to implement something that do work under Apache but directly with TidHTTPServer
I have an HTTPS domain, and on a specific URL I need to request a client certificat, it's done like that under Apache:
the purpose is to allow an optional connection with a card reader
french video about that
https://www.youtube.com/watch?v=1BSfWG1Cpyc&feature=youtu.be
BTW: what is the equivalent of PHP's $_SERVER['SSL_CLIENT_CERT']...
BTW2: is is possible to have a certificat per domain name ?
All reactions