Closed rigrig closed 1 month ago
Discworld MUD uses Let's Encrypt certificates, which are valid for 90 days, and auto-renewed after 60 days. That means there are still 30 days left for the old certificate, and TinTin++ refuses to connect unless you manually delete the old cert.
Changing https://github.com/scandum/tintin/blob/e23cfe3c183eaa4514cf89e6dabe1c985de83a89/src/ssl.c#L315 from if (err || t < -7*24*3600) to if (err || t < -30*24*3600) would solve that.
if (err || t < -7*24*3600)
if (err || t < -30*24*3600)
Thanks, I added your fix to the beta. :-)
The certificate rolled over again, and the last beta connected successfully :tada:
Discworld MUD uses Let's Encrypt certificates, which are valid for 90 days, and auto-renewed after 60 days. That means there are still 30 days left for the old certificate, and TinTin++ refuses to connect unless you manually delete the old cert.
Changing https://github.com/scandum/tintin/blob/e23cfe3c183eaa4514cf89e6dabe1c985de83a89/src/ssl.c#L315 from
if (err || t < -7*24*3600)
toif (err || t < -30*24*3600)
would solve that.