Edit the 'Course details' > 'Completion Document' field
You can set the Course Completion document field and use the Print Certificate of Attendance menu item