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
{{ message }}
Repository navigation
Option to pass in-memory CA certificate for server verification with websocket client #586
The problem with passing a file name is that a client application that ships with a certificate (e.g. as an embedded QT resource file) would have to save the certificate on disk before it can be used with libhv/openssl. This allows a user of the application to tamper with the certificate which would render server verification useless.
My suggestion is to add more fields to hssl_ctx_opt_t to allow using an in-memory certificate (byte buffer).
Activity
ljluestc commentedon Jan 26, 2025