Hello Wilfried, You create one TSslContext per SSL certificate your server has and you need to assign one of it to each ICS SSL instance. It is useful in sharing SSL context objects accross many SSL client/servers in a thread. Best Regards,
SZ On Mon, Oct 17, 2011 at 14:51, Wilfried Mestdagh <wilfr...@mestdagh.biz>wrote: > Hi Arno, > > Thank you. You put me on a tracé. I put a breakpunt over there, it is not > the FSslEnable, but FSslContext is NIL so exeption is raised and eaten > somewhere. > > Now my question: What is SSLContext and what should I do with it? > > procedure TCustomSslWSocket.StartSslHandshake; > begin > {$IFNDEF NO_DEBUG_LOG} > if CheckLogOptions(loSslInfo) then { V5.21 } > DebugLog(loSslInfo, IntToHex(Integer(Self), 8) + > ' StartSslHandshake ' + IntToStr(FHSocket)); > {$ENDIF} > if not FSslEnable then > Exit; > if not Assigned(FSslContext) then > raise Exception.Create('SSL requires a context object'); <-- Here > Exception > > -- > mvg, Wilfried > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be