cpp-httplib icon indicating copy to clipboard operation
cpp-httplib copied to clipboard

New function SSLServer::update_certs. Allows to update certificates while server is running

Open RainerSchielke opened this issue 1 year ago • 2 comments

We want to update the ssl certificates without stopping the httplib server. The new function does this in a safe way, because it uses the ctx_mutex_

RainerSchielke avatar Apr 25 '24 13:04 RainerSchielke

@RainerSchielke thank you for the pull request. Could you please add a unit test for this change?

yhirose avatar Apr 25 '24 14:04 yhirose

@RainerSchielke thank you for the pull request. Could you please add a unit test for this change?

Ok I willt try it, but I cannot find the certificates used in the test eg. "./cert.pem"

RainerSchielke avatar Apr 25 '24 17:04 RainerSchielke

@RainerSchielke sorry for the late reply. Thanks for your contribution!

yhirose avatar Jun 03 '24 13:06 yhirose