Closed d1str0 closed 4 years ago
TODO
comment in baafa8213bba56ebefaa68a709e97cad33bfa5c8 in #23. cc @ImageWare.BTW, the way I tested this was by setting the scanPeriod in autorenew.go to 1 min, and then I set the DefaultRenewAt in model/certificate.go to 90 days, then created a cert. This triggers it to renew every minute. WIthout those changes, it properly does NOT trigger renew.
Not specified as a reviewer but looks good
main.go now initiates a go routine to scan hourly for any certificates needing renewal. Default renewal is 30 days before expiration.