Certificates are automatically generated upon course completion to signify that a user has successfully passed a course.
Navigate to the course that you want to add a Certificate for. In the Course Settings tab, check the box labelled Enable Course Certificate, then use the drop-down menu to choose either the Default Certificate or a custom certificate. Once finished, hit Update Settings at the bottom of the page.