You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use libwebsockets http server built with the mbedtls on a small embedded platform. One of our requirements is to have a list of trusted SKI on http server side and make sure that client connected matches one of that list items. The issue is that when in lws_context_creation_info->options the LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT is present, mbedtls handshake fails (looks like it requires a valid CA in this case), but if LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT is off — then we cannot fetch any peer certificate related info. With OpenSSL it is possible to check the SKID without CA, that is what we really appreciate if possible somehow with mbedtls-based libwebsockets.
Should we try some more specific libwebsockets or mbedtls options to get the SKID check working without providing a CA or is that just not possible?