| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 971 online users. » 1 Member(s) | 966 Guest(s) Applebot, Bing, Google, Yandex, lc8868vipcom0
|
| Latest Threads |
How to terminate HTTP Thr...
Forum: Indy
Last Post: hamstring
Yesterday, 05:14 AM
» Replies: 4
» Views: 310
|
VCL conversion
Forum: Delphi General Discussion
Last Post: marktuan
08-07-2026, 01:20 PM
» Replies: 0
» Views: 367
|
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 86
|
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 248
|
New CGDevTools build is a...
Forum: CGDevTools
Last Post: lfeliz
08-04-2026, 12:03 AM
» Replies: 2
» Views: 1,409
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: JuergenS
07-31-2026, 09:44 AM
» Replies: 6
» Views: 1,313
|
Datatables question
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-28-2026, 04:34 AM
» Replies: 2
» Views: 304
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: CharlieDunn
07-27-2026, 08:27 PM
» Replies: 1
» Views: 487
|
Intraweb components missi...
Forum: IntraWeb General Discussion
Last Post: valmeras
07-27-2026, 03:18 PM
» Replies: 3
» Views: 432
|
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-17-2026, 05:18 PM
» Replies: 6
» Views: 4,925
|
|
|
| Error on send https.post with certificate |
|
Posted by: Jose Antonio Begines - 11-25-2023, 12:32 PM - Forum: Indy
- Replies (2)
|
 |
Good morning, when trying to make an https.post request with a certificate, I get the error:
EIdOSSLLoadingKeyError with message: 'could not load key, check password. error: 0B080074:x509 certificate routines:X509_check_private_key:key values mismatch'.
My code is:
data := TIdMultiPartFormDataStream.Create;
http := TIdHTTP.Create;
IdSSLIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create;
try
IdSSLIOHandler.SSLOptions.SSLVersions := [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2];
IdSSLIOHandler.SSLOptions.Mode := sslmClient;
IdSSLIOHandler.SSLOptions.Method := sslvSSLv23;
IdSSLIOHandler.SSLOptions.CertFile := 'certificado.pem';
IdSSLIOHandler.SSLOptions.KeyFile := 'claveprivada.pem';
IdSSLIOHandler.OnStatusInfoEx := IdSSLIOHandlerSocketOpenSSL1StatusInfoEx;
http.IOHandler := IdSSLIOHandler;
http.Request.ContentEncoding := 'utf-8';
http.Request.ContentType := 'application/xml';
http.Request.CharSet := 'utf-8';
data.AddFile('UploadedXml', 'File.xml', '');
try
queRespuesta := http.Post('https://xxxxxxx', data);
except
on e:Exception do begin
ShowMessage(e.Message);
end;
end;
finally
http.Disconnect;
http.Free;
data.Free;
IdSSLIOHandler.Free;
end;
Thanks for the help.
|
|
|
| time-out has occurred within IWGridDataTables |
|
Posted by: Zee Khan - 11-25-2023, 02:16 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I am just running the demo IWGridDataTables in SA. Builds fine. Start the exe using Administrator. When I access it thourough the browser I get
"Application time-out A time-out has occurred within IWGridDataTables"
This occurs with all http.sys demos.
IWGridDataTables Demo Application (Http.sys - x64)
Edition: IntraWeb Ultimate Edition
Build Date: Nov 22, 2023
IntraWeb Version: 15.5.0
64-bit Server
HTTP Server is active on port: 80
OS is Windows 10, Disabled AV.
|
|
|
| Limit browser version |
|
Posted by: mhammady - 11-17-2023, 04:38 PM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hi,
I'm building an app that requires the latest versions of browsers to be used. I found that IW support for the browser can be very forgiving, e.g., the app has to use Firefox v110 or newer, but IW can accept as old as 65.
Is there a way to limit the browser support?
I tried IWServerControllerBaseBrowserCheck to get the browser version, but I could not terminate the session as this event
Code: procedure TIWServerController.IWServerControllerBaseBrowserCheck(
aSession: TIWApplication; var rBrowser: TBrowser);
var MinVersion: single;
const _BrowserMinFirefox = 110;
_sTerminateMin = ' min version is ';
begin
if (rBrowser.BrowserName = 'Firefox') and (rBrowser.Version < _BrowserMinFirefox) then
WebApplication.Terminate(rBrowser.BrowserName+_sTerminateMin+IntToStr(_BrowserMinFirefox)); //<-- Error here
end;
Thank you
|
|
|
|