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

Hot reload SSL certificates #45

Open
ghnp5 opened this issue Jun 25, 2023 · 1 comment
Open

Hot reload SSL certificates #45

ghnp5 opened this issue Jun 25, 2023 · 1 comment

Comments

@ghnp5
Copy link

ghnp5 commented Jun 25, 2023

My SSL certificates are renewed every 2 months, using Certbot/LetsEncrypt.

Is there a way I can hot reload the SSL certificates on OpenSwoole, so they don't eventually expire while the app is live?

Ideally, in a graceful way, without any downtime.

@erfanmola
Copy link

You can define a renew hook and kill/start the swoole server: https://anweshadas.in/how-to-add-a-renew-hook-for-certbot/

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

No branches or pull requests

2 participants