Re: [go-nuts] Auto-renew letsencrypt cert with standard library code

2019-11-05 Thread Marko Ristin-Kaufmann
Hi, FWIW, The Caddy web server is written in Go and handles this scenario. So > you might consider using it or at least looking at its source to understand > how to implement this feature. > We implemented an alternative in case you need more examples: https://github.com/Parquery/revproxyry

Re: [go-nuts] Auto-renew letsencrypt cert with standard library code

2019-11-05 Thread Kurtis Rader
FWIW, The Caddy web server is written in Go and handles this scenario. So you might consider using it or at least looking at its source to understand how to implement this feature. On Tue, Nov 5, 2019 at 9:20 AM Michael Ellis wrote: > > I have the code at the bottom of this message in a

[go-nuts] Auto-renew letsencrypt cert with standard library code

2019-11-05 Thread Sean Liao
1. Check certificate expiry (stdlib) 2. Implement ACME client to request certificate 3. Respond to a challenge (the http one is easy) 4. Restart server with new certificate -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this

[go-nuts] Auto-renew letsencrypt cert with standard library code

2019-11-05 Thread Michael Ellis
I have the code at the bottom of this message in a web server I'm running in a Digital Ocean Droplet. The app is a simple ear training program for instrumentalists. The URL is https://etudes.ellisandgrant.com. It works with no problems until the letsencrypt certificate