My platform is this
- OS X Yosemite 10.10.5
- newest Indy (10.6.2.0, download 2016 March 13 - Indy10_5346.zip)
- Lazarus 1.4.4
Concerning OpenSSL versions I have tried:
- HomeBrew OpenSSL installed like this: "brew install openssl
--universal"
- Built-in (0.9.8) OS X supplied in /usr/lib/
I am getting error:
EIdOSSLConnecError Error connecting with SSL - EOF was observed that
violates the protocol
In file Protocols/IdSSLOpenSSLHeaders.pas at line 19418
However, as I am using newest of everything - why am I be getting this error?
(Happens in call to OpenEncodedConnection)
Here's how I setup my Indy HTTP client OpenSSL handler:
FIOHandlerOpenSSL := TIdSSLIOHandlerSocketOpenSSL.Create;
FIOHandlerOpenSSL.SSLOptions.SSLVersions := [sslvSSLv23,sslvTLSv1,sslvTLSv1_1,sslvTLSv1_2]
FIOHandlerOpenSSL.Mode := sslmClient;
FIOHandlerOpenSSL.VerifyMode := [];
FIOHandlerOpenSSL.VerifyDepth := 0;
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…