Hello Arno, I thought ICS was based on OpenSSL as it use the libeay32.dll and ssleay32.dll like OpenSSL.exe do.
Currently I am able to do a connection using OpenSSL.exe (using pkcs11 engine) or sTunnel.exe that is configured with nearly same parameters syntax as OpenSSL as it also rely on libeay32 and ssleay32. I know that private key cannot be extracted from the SmartCard type I use so may be this is why I need to use this parameter "-keyform engine -key 0:04000000". I also use "-cert "c:\documents and settings\dod\bureau\myAuth.pem" that contains the public X.509 auth certificate. May be -key parameter is used to ask the Smartcard to do some computation ? regards. AG> ICS-SSL currently does not include openssl engine support, however that AG> was just a matter of some hours work to translate the related C headers, AG> but more work was required in order to wrap engine support nicely in a AG> Delphi component. So at the time the only way is to use PEM files. AG> I guess you made some mistake exporting the certificate and private AG> key, try again, I currently don't recall the correct command line, however AG> there are countless FAQ available on the net. -- 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