Use new ForceRSA option and drop custom acme patch.

This commit is contained in:
Gustavo Niemeyer 2018-03-21 15:02:43 -03:00
parent d396a77f10
commit 52a51a4957

View File

@ -87,6 +87,7 @@ func run() error {
server.Addr = *httpsFlag
if *acmeFlag != "" {
m := autocert.Manager{
ForceRSA: true,
Prompt: autocert.AcceptTOS,
Cache: autocert.DirCache(*acmeFlag),
RenewBefore: 24 * 30 * time.Hour,