Jump to content

MichaelPrice

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by MichaelPrice

  1. MichaelPrice

    Rest Server

    I am programming a rest sever in Delphi 11 It has the standard Indy 10.6.2.0 installed. Ssleay32.dll and libeay32.dll are in the same directory as the exe. When run on development machine all starts ok. Copy exe and the dll’s to a directory on my windows 2022 server and it gives ‘could not load ssl library’ I have set in code IdOpenSSLSetLibPath('c:\TestDLL') which I believe should not be necessary if the dlls are in the same directory still the same error. I have installed Indy directly on the server same error. The rest server used to run ok on Microsoft server 2012 is there settings I am missing on new server?
  2. MichaelPrice

    Rest Server

    I have run through all the replies unfortunately still not working. So made a very simple app, runs on test machine (windows 11), move to Microsoft server 2022 cannot find ssl, move to one of my old servers Microsoft 2012 R2 runs. So it has to be the server that indy does not like. Obvious answer run on the 2012 server but it is be decommissioned so unfortunately not an option. So is there a compatibility problem with Indy and Windows server 2022?
  3. MichaelPrice

    Rest Server

    Whichfailed to load used ShowMessage(WhichFailedToLoad()); all the message shows is the exe name have I done something wrong?
  4. MichaelPrice

    Rest Server

    Thought the admin access may be it unfortunately not. Logged in as administrator can copy and paste to directory no query from system ran the exe as normal then "run as administrator" but no luck
  5. MichaelPrice

    Rest Server

    Thanks everyone for coming back I was driving home it is !7:00 in the UK! Will try both suggestions and get back. Wife is said she will keep doing the ironing so I have 1 hour!
  6. MichaelPrice

    Rest Server

    Hi Lajos Thanks for coming back so fast. not sure how to use WhichFailedToLoad but will look it up and come back. I used the dll's that came with Delphi, I also downloaded others from the internet. The strange thing is that it works perfectly on my development machine windows 11 and I have tried the exact same Dll's on the server. By the way the SSL is definitely working correctly on the server. Other sites on the same secured and working so the certificates are valid.
×