Course certification not working

When finishing the course, the user is not getting the Course certification.