-
Hi, I implemented LetsEncrypt usage very similar to the official example here: echo: Auto TLS Recipe. LetsEncrypt should regenerate the certificate a few weeks before the current one expires. Do I need to trigger that? Or is it done automatically? If it happens automatically, do I have to restart the app to use the re-created certificates at some moment or is this replaced/renewed automatically "on the fly" without any additional interaction needed? I know that Apache servers need to become restarted by a cronjob to make this work. Is it the same here? In order to find out, I would have to wait for at least two months now :-( Does anybody know, how this is handled? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Echo uses https://pkg.go.dev/golang.org/x/crypto/acme/autocert for Auto TLS. I guess autocert does reneweal by itself. // RenewBefore optionally specifies how early certificates should
// be renewed before they expire.
//
// If zero, they're renewed 30 days before expiration.
RenewBefore time.Duration |
Beta Was this translation helpful? Give feedback.
-
I waited long enough and now I can tell you that the echo framework (and so the app) does not need a restart. Updated LetsEncrypt certificates are used on the fly. |
Beta Was this translation helpful? Give feedback.
I waited long enough and now I can tell you that the echo framework (and so the app) does not need a restart. Updated LetsEncrypt certificates are used on the fly.