def METHOD_NAME(self, count=1, signatory_count=0, is_active=True):
    """
    Create certificate for the course.
    """
    signatories = [
        {
            'name': 'Signatory_Name ' + str(i),
            'title': 'Signatory_Title ' + str(i),
            'organization': 'Signatory_Organization ' + str(i),
            'signature_image_path': f'/static/certificates/images/demo-sig{i}.png',
            'id': i,
        } for i in range(signatory_count)
    ]
    certificates = [
        {
            'id': i,
            'name': 'Name ' + str(i),
            'description': 'Description ' + str(i),
            'course_title': 'course_title_' + str(i),
            'signatories': signatories,
            'version': 1,
            'is_active': is_active
        } for i in range(count)
    ]
    self.course.certificates = {'certificates': certificates}
    self.course.cert_html_view_enabled = True
    self.course.save()
    self.store.update_item(self.course, self.user.id)