[Libwebsockets] [libwebsockets] #94: Websocket connection fails with 'Intermediate' certificate

Trac trac at libwebsockets.org
Wed Oct 22 00:16:03 CEST 2014


#94: Websocket connection fails with  'Intermediate' certificate
-------------------------------------+-----------------
  Reporter:  Arjun                   |      Owner:
      Type:  defect                  |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:
-------------------------------------+-----------------

Comment (by agreen):

 The problem may be you don't have certs to validate the intermediaries.

 There's a callback

  *      LWS_CALLBACK_OPENSSL_LOAD_EXTRA_SERVER_VERIFY_CERTS: if configured
 for
  *              including OpenSSL support, this callback allows your user
 code
  *              to load extra certifcates into the server which allow it
 to
  *              verify the validity of certificates returned by clients.
 @user
  *              is the server's OpenSSL SSL_CTX*

 Where you can get them into the server.

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/94#comment:1>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list