Bingo! I had to enable Completion Tracking in the course settings, not just in site admin.
Custom certificate (plugin)
Restrict access to a certificate until course completion
This discussion has been locked so you can no longer reply to it.