[Libwebsockets] Client doesn't present certificate when requested?
anton.pavlovich at gmail.com
Mon Jun 10 19:48:08 CEST 2019
I can't get client authentication working with libwebsockets test client
for some reason despite -C option being used:
[2019/06/10 13:11:31:4022] NOTICE: libwebsockets test client - license
[2019/06/10 13:11:31:4022] NOTICE: (C) Copyright 2010-2018 Andy Green <
andy at warmcat.com>
[2019/06/10 13:11:31:4022] NOTICE: Using SSL
[2019/06/10 13:11:31:4022] NOTICE: Selfsigned certs allowed [2019/06/10
13:11:31:4022] NOTICE: Skipping peer cert hostname check [2019/06/10
13:11:31:4034] NOTICE: Creating Vhost 'default' (serving disabled), 3
protocols, IPv6 off [2019/06/10 13:11:31:4035] NOTICE:
lws_tls_client_create_vhost_context: doing cert filepath
[2019/06/10 13:11:31:4036] NOTICE: Loaded client cert
Whenever a server requests a certificate, the client responds with zero
length cert and handshake fails
Secure Sockets Layer
TLSv1 Record Layer : Handshake Protocol: Certificate
Content Type: Handshake (22)
Version: TLS 1.0 (0x0301)
Handshake Protocol: Certificate
Handshake Type: Certificate (11)
Certificates Length: 0
This behaviour is consistent across several different servers.
Have been looking for an answer on my own and still coming short.
Appreciate any advice.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets