Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Arno Garrels
Dimitris Botsis wrote: > Hi again, > from what I understand from you e-mails and tests I tried to do, the > certificate file has to exist locally, where my application that > checks it runs ? > Also in the sample "HttpsTst" cert file has to be provided locally, > isn't it ? Can it use a certificate

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Dimitris Botsis
I found the solution, setting "SSLVerifyPeer" to True for SSLHTTPCli's SSLContect and then reading the cert. Thank you. On 27/8/2011 11:18 μμ, Dimitris Botsis wrote: Hi again, from what I understand from you e-mails and tests I tried to do, the certificate file has to exist locally, where my ap

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Dimitris Botsis
Hi again, from what I understand from you e-mails and tests I tried to do, the certificate file has to exist locally, where my application that checks it runs ? Also in the sample "HttpsTst" cert file has to be provided locally, isn't it ? Can it use a certificate from an https site being conne

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Arno Garrels
Arno Garrels wrote: > use method PostConnection .. Sorry typo, the method name is "PostConnectionCheck". -- Arno Garrels -- 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.ove

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Dimitris Botsis
Thank you very much for all help and information. On 27/8/2011 7:29 μμ, Arno Garrels wrote: Dimitris Botsis wrote: OK, let me explain what I want. I want my client that connects over https to a server, before start exchanging data with server, first to check if the certificate provided by the s

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Arno Garrels
Dimitris Botsis wrote: > OK, let me explain what I want. > I want my client that connects over https to a server, before start > exchanging data with server, first to check if the certificate > provided by the server is the right one. I think there is a signature > in certificate which client will