Hi there! Hope whoever reads this is having a great day!
I've got an Intraweb app that serves up a REST interface. I've also got a Delphi desktop app that consumes the Intraweb apps' REST interface using Indy. I've had it all working both locally and installed as an ISAPI for a while now. ...Until I directed IIS to force all requests to https. The Intraweb app works fine under https. But the desktop app started complaining EIdOSSLCouldNotLoadSSLLibrary. Interestingly, another desktop app (in c#) needed no modifications and has continued to run fine, now accessing the https REST URL.
So far I haven't done *anything* to the desktop app. I haven't added any DLLs to its path, I haven't changed any code to have it use https, nothing. So here are my questions:
1. Assuming a working non-ssl desktop app, what changes need to be made to support SSL?
2. My desktop app, used for data entry, is currently just a single .exe. I'd love to keep it that way. Is there any way to bundle the functionality needed into the .exe? I'm not beyond adding the dlls as a resource and extracting them before dynamically loading them. Otherwise, I'll need to create an installer.
3. In searching on the web, I see other programmers writing SSL specific Indy code when connecting to https. Is this necessary? From my limited experience, Indy seems to be identifying that it wants to do SSL, but looking for those dll's most likely.
4. Any suggestions? (that's carte blanche to criticize my strategy if you feel so inclined)
Thanks,
Pete
Code:
function TpdHTTPClient.Post( aName : string;
aServiceURL : string;
aParams : TStringList ) : string;
var lHttp :TIDHttp;
lRequestStream, lResponseStream : TStringStream;
begin
lHttp := TIDHttp.Create(nil);
try
ConfigureHttp( lHttp );
result := lHttp.Post( aServiceURL, aParams );
finally
lHttp.Destroy;
end;
end;
Okay, as my daughter would say - "my bad". Sorry about that.
I could have at least tested the .dll's. I added the dll's to the .exe directory and everything works fine.
So the question is more simple - how to pack into .exe, and any other suggestions?
I'm calling openssl from Delphi (10.3.1) using the indy libraries. This works perfectly when using a 32 bit application. However when the application is compiled to 64 bits, I get an access violation on this line: rc := EVP_PKEY_set1_RSA(@key, FRSA);
I tried "dropdown", "dropdown-menu" and doesn't work. Do I have to build the Combobox in code with "OnUnknownTag" to make it look good or there is a simpler way?
Hi there. I received a report of someone on the new Galaxy10 cell phone that is getting an error that the IP address is changing and they cannot establish a connection. I had this once with an iPhone too.
My whole application is in SSL and the error message is "The IP you are using is different than the one that initiated the session. Security check failed. Please restart application."
Is there a way to loosen the security of the web application to allow the IP address to dynamically change? I read on-line that the new Galaxy 10 has networking issues so this is probably a flawed product but I wanted to ask the technical question if we can do anything to compensate for this problem.
Embarcadero® Delphi 10 Seattle Version 23.0.20618.2753
Intraweb 15.0.14
TMS pack Pro
FastReport 5
The dll has been running on the serv er since April 20th with a few TMS component issues. Apart from that after there is one issue, there are sites trying to access files which are not where the dll is published resulting in 404 error and one of the dlls, which is an older isapi dll going down, which causes a domino effect.
How can I stop this from happening. I have a robots.text in the same folder as the dll and have User-agent: * Disallow/ inside it.
Thanks
* I tried googling before posting here and came up with nothing.