I know this question has been asked a number of times. I seem to have a bit of a different problem. In my situation after the exception is thrown initially it works fine (
For Indy you need a special build of OpenSSL libraries. The default OpenSSL libraries are not suitable for using with Indy.
See also. May be you need to try different versions, until you'll find a suitable one.
That error means that the TIdSSLIOHandlerSocketOpenSSL.PassThrough
property is being set to False
(which would happen when posting to an HTTPS URL) before TIdSSLIOHandlerSocketOpenSSL.Init()
has been called to intialize the SSL context first.
Sounds like a bug. Next time you get the error, can you grab the stack trace?