September 5, 2020

Enable Certificate in Open edX

Activities, Android Developer, Ansible, Apache2, Atlassian, Ayo Belajar Linux, Bestpath Network, BLC Telkom Klaten, BSD, Caddy Server, Case Study, Cisco, Cisco Indonesia, Cloud Computing, Cockpit, Custom Weapons, Docker, E-Learning, Engenius, Error, FreeBSD, FreeBSD Indonesia, Komunitas Pengguna Linux Indonesia, KPLI Bulukumba, KPLI Klaten, Lets Encrypt, Linux, MacOS, Microsoft Azure, Microsoft SQL Server, MikroTik, MikroTik Indonesia, MySQL, Nginx, Open edX, OpenSID, Others, PHP, phpMyAdmin, PostgreSQL, Proxmox, Python, Redash, Sendy, SSH, Stories, Subnetting, TP-Link, Ubiquiti, Unix, Virtualization, Windows, X-Mosque, Faizar Septiawan, Icar, siBunglonGanteng, Orang Ganteng, siBunglonLabs, Programmer, SysAdmin, Site Reliability Engineer, Developer, Palugada, Makassar, Ganteng, Gila, Cyclist, Panglima, Setan, Panglima Setan, sibunglon, Ganteng

Organizations and course teams can choose to generate certificates for learners who pass a course. Learners can view, print, or share their certificates.

To enable certificates, you modify the lms.env.json and cms.env.json files.

  1. In the lms.env.json and cms.env.json files, set the value of CERTIFICATES_HTML_VIEW within the FEATURES object to true.
"FEATURES": {
    ...
    'CERTIFICATES_HTML_VIEW': true,
    ...
}

Save the lms.env.json and cms.env.json files.

  1. If it does not exist already, create the folder /tmp/certificates owned by the user and group www-data.
$ mkdir /tmp/certificates
  1. Access the LMS Django Administration website for your instance of Open edX. To do this, go to https://<host name of your Open edX instance>/admin.

  2. Under Site Administration > Certificates, add an HTML View Configuration, and select Enabled.

For Configuration, set the following certificates-related parameters for your Open edX instance.

  • platform_name
  • company_about_url
  • company_privacy_url
  • company_tos_url
  • company_verified_certificate_url
  • logo_src
  • logo_url

For each course mode for which you want to offer certificates (such as “honor” or “verified”), define these parameters.

  • certificate_type
  • certificate_title
  • document_body_class_append

Example content for Configuration field.

{
    "default": {
        "accomplishment_class_append": "accomplishment-certificate",
        "platform_name": "YourPlatformName",
        "company_about_url":"http://www.YourOrganization.com/about-us",
        "company_privacy_url": "http://www.YourOrganization.com/our-privacy-policy",
        "company_tos_url": "http://www.YourOrganization.com/our-terms-service",
        "company_verified_certificate_url": "http://www.YourOrganization.com/about_verified_certificates",
        "logo_src": "/static/certificates/images/our_logo.svg",
        "logo_url": "www.YourOrganization.com"
    },
    "honor": {
        "certificate_type": "honor",
        "certificate_title": "Honor Certificate",
        "document_body_class_append": "is-honorcode"
    },
    "verified": {
        "certificate_type": "verified",
        "certificate_title": "Verified Certificate",
        "document_body_class_append": "is-idverified"
    },
    "base": {
        "certificate_type": "base",
        "certificate_title": "Certificate of Achievement",
        "document_body_class_append": "is-base"
    },
    "distinguished": {
        "certificate_type": "distinguished",
        "certificate_title": "Distinguished Certificate of Achievement",
        "document_body_class_append": "is-distinguished"
    }
}

and then click Save.

  1. Restart lms and cms.

  2. Access the LMS Django Administration website for your instance of Open edX. To do this, go to https://<host name of your Open edX instance>/admin.

  3. Under Site Administration > Certificates > Certificate generation configurations, add an certificate generation if configuration not exist, and select Enabled, then click save.

  4. Under Site Administration > Course mode > Course modes, add an course mode, and then click save.

  5. Configure certificate in studio page. You’ll find this under Settings.

Activities, Android Developer, Ansible, Apache2, Atlassian, Ayo Belajar Linux, Bestpath Network, BLC Telkom Klaten, BSD, Caddy Server, Case Study, Cisco, Cisco Indonesia, Cloud Computing, Cockpit, Custom Weapons, Docker, E-Learning, Engenius, Error, FreeBSD, FreeBSD Indonesia, Komunitas Pengguna Linux Indonesia, KPLI Bulukumba, KPLI Klaten, Lets Encrypt, Linux, MacOS, Microsoft Azure, Microsoft SQL Server, MikroTik, MikroTik Indonesia, MySQL, Nginx, Open edX, OpenSID, Others, PHP, phpMyAdmin, PostgreSQL, Proxmox, Python, Redash, Sendy, SSH, Stories, Subnetting, TP-Link, Ubiquiti, Unix, Virtualization, Windows, X-Mosque, Faizar Septiawan, Icar, siBunglonGanteng, Orang Ganteng, siBunglonLabs, Programmer, SysAdmin, Site Reliability Engineer, Developer, Palugada, Makassar, Ganteng, Gila, Cyclist, Panglima, Setan, Panglima Setan, sibunglon, Ganteng

Create a new section, enter all the information, click save, and click activate.

References