This sounds like an issue with the cron not running - see https://docs.moodle.org/37/en/Cron.
Custom certificate (plugin)
Reinstalling Custom Certificate
This discussion has been locked so you can no longer reply to it.