[Libwebsockets] Reconfigure vhost with certificates.

Avigail Wilk awilk at kramerav.com
Thu Jun 3 18:07:06 CEST 2021


Hi Andy,

I am using libwebsocket version 4.2.0.

In my system I give the end user the option to upload ssl certificates that will be used for HTTPS.
My question is, what is the right way to restart the vhost with the new certificates?
And how can I validate that the certificates that the user uploaded are valid? (when I tried using invalid certs to initiate a vhost, my program just got stuck and I had to use kill -9 to kill it...)

Thanks a lot for your help!


This message has been scanned for malware by Websense. www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20210603/b62121b1/attachment.htm>


More information about the Libwebsockets mailing list