[Libwebsockets] turn off server certificate validation

Subi S S subi.s at cambiumnetworks.com
Wed Aug 13 11:24:11 CEST 2014


No it is not solving the issue :( 

-----Original Message-----
From: Andy Green [mailto:extracats at googlemail.com] On Behalf Of Andy Green
Sent: Wednesday, August 13, 2014 2:41 PM
To: Subi S S; libwebsockets at ml.libwebsockets.org
Subject: RE: [Libwebsockets] turn off server certificate validation



On 13 August 2014 17:01:45 GMT+08:00, Subi S S <subi.s at cambiumnetworks.com> wrote:
>[122:4758] INFO: SSL_connect WANT_... retrying [122:4759] INFO: 
>SSL_connect WANT_... retrying [122:4759] INFO: SSL_connect WANT_... 
>retrying [122:4759] INFO: SSL_connect WANT_... retrying [122:4759] 
>INFO: SSL_connect WANT_... retrying [122:4916] ERR: server's cert 
>didn't look good 20

I think if you set the Ssl parameter of the client connect api to 2, he will not complain if the cert cannot be validated by the client.

-Andy

>-----Original Message-----
>From: Andy Green [mailto:extracats at googlemail.com] On Behalf Of Andy 
>Green
>Sent: Wednesday, August 13, 2014 2:31 PM
>To: Subi S S; libwebsockets at ml.libwebsockets.org
>Subject: Re: [Libwebsockets] turn off server certificate validation
>
>
>
>On 13 August 2014 16:55:20 GMT+08:00, Subi S S 
><subi.s at cambiumnetworks.com> wrote:
>>Hi ,
>>
>>I am using libwebsocket client to connect to server having self signed
>
>>certificate.
>>Is there a way to turn off server certificate validation in 
>>Libwebsocket  ?
>
>The test server also generates and uses a selfsigned cert... that works 
>okay.
>
>What's your actual problem you're seeing?
>
>-Andy
>
>>Thanks,
>>Subi
>>
>>
>>----------------------------------------------------------------------
>>-
>>-
>>
>>_______________________________________________
>>Libwebsockets mailing list
>>Libwebsockets at ml.libwebsockets.org
>>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets



More information about the Libwebsockets mailing list