Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

RainerSchielke
Copy link
Contributor

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_

@yhirose
Copy link
Owner

yhirose commented Apr 25, 2024

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

@RainerSchielke
Copy link
Contributor Author

@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"

@yhirose yhirose merged commit d440316 into yhirose:master Jun 3, 2024
@yhirose
Copy link
Owner

yhirose commented Jun 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants