Hello,
If I set TScHttpWebRequest.SSLOptions.OnServerCertificateValidation it get fired in order to verify server certificate. So far so good. But I want also client to send self-signed certificate to the server, so I set manually Certificate and Key in Memory Storge. I can confirm the server verifies the client, but in client code OnServerCertificateValidation is not fired anymore when I set client cert and key.
Is it intentional or I am doing something wrong?
Thanks.
Search found 3 matches
- Tue 16 Mar 2021 07:42
- Forum: SecureBridge
- Topic: TScHttpWebRequest.SSLOptions.OnServerCertificateValidation not fired
- Replies: 1
- Views: 2847
- Mon 12 Sep 2011 13:22
- Forum: PostgreSQL Data Access Components
- Topic: Using TPgConnection and TPgAlerter in thread
- Replies: 3
- Views: 1964
Hi AlexP,
The catch is as I said, you MUST have no visual components connected.
Try to trigger the event (SendEvent) from thread's PgAlerter with removed (or not connected) visual components.
Run two instances of the application.
No one will fire.
If you connect the visuals, thread event will fire.
Thanks.
The catch is as I said, you MUST have no visual components connected.
Try to trigger the event (SendEvent) from thread's PgAlerter with removed (or not connected) visual components.
Run two instances of the application.
No one will fire.
If you connect the visuals, thread event will fire.
Thanks.
- Fri 09 Sep 2011 16:21
- Forum: PostgreSQL Data Access Components
- Topic: Using TPgConnection and TPgAlerter in thread
- Replies: 3
- Views: 1964
Using TPgConnection and TPgAlerter in thread
Hello,
Using PgDAC 3.0 beta trial and 9.0.4 server on localhost. Delphi XE2.
Windows 7 x64
I have following case:
In thread I create one TPgConnection object and one TPgAlerter. Attaching OnEvent handler.
OnEvent is never called. Instead I get TPgSQLNotification leak for every notify message I sent from database side.
Then I add TDataModule. Pick TPgConnection and TPgAlerter VCL components. Configure them.
In this case OnEvent is fired for both OnEvent Alerter handlers (thread created and vcl).
How can I work out this behavior? I would like to use Connection and Alerter in thread.
Thanks.
Using PgDAC 3.0 beta trial and 9.0.4 server on localhost. Delphi XE2.
Windows 7 x64
I have following case:
In thread I create one TPgConnection object and one TPgAlerter. Attaching OnEvent handler.
OnEvent is never called. Instead I get TPgSQLNotification leak for every notify message I sent from database side.
Then I add TDataModule. Pick TPgConnection and TPgAlerter VCL components. Configure them.
In this case OnEvent is fired for both OnEvent Alerter handlers (thread created and vcl).
How can I work out this behavior? I would like to use Connection and Alerter in thread.
Thanks.