[Libwebsockets] Verifying client certificate

Alexander Bruines alexander.bruines at gmail.com
Wed Aug 5 15:40:51 CEST 2015

On 08/05/2015 02:25 PM, techi eth wrote:
> Hi,
> Please let me know how to enable libwebsockets-test-client & libwebsockets-test-server for verifying client certificate by server during connection.
> Thanks
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets


This has not been implemented in the test client/server.
I'd write a patch to support it but someone seems to be ignoring anything I send his way...

If you need an example, you could take a look at my project that uses libwebsockets and CyaSSL.

Btw, it only works when using CyaSSL/wolfSSL.
With openSSL libwebsockets crashes immediately when I turn on LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT....

Regards, Alex

More information about the Libwebsockets mailing list