ROQUES Guillaume wrote:
> And ICS logger says :
>> 15:57:49:896 InitCtx> OpenSSL version: OpenSSL 0.9.8h 28 May 2008
>> 15:57:49:897 error:0906D06C:PEM routines:PEM_read_bio:no start line
>> error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib

> So I checked MyCertificate.pem and I've got 3 blocks :

Without a private key it doesn't work. InitContext raises an exeption
in such case. 

The private key has to be converted to PEM format as well, preferably
to a separate PEM file in your case and property SslPrivKeyFile should
point to it.

BTW: If you would not eat exceptions you would have got that error
message sooner and easier.

Arno Garrels
To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to