Activities: Custom certificate

Maintained by Picture of Mark NelsonMark Nelson
Enables the creation of dynamically generated certificates with complete customisation via the web browser.

Custom certificate 2.9/3.0 release (Build: 2016032202)

Release notes


There are two installation methods that are available. Follow one of these, then log into your Moodle site as an administrator and visit the notifications page to complete the install.

==================== MOST RECOMMENDED METHOD - Git ====================

If you do not have git installed, please see the below link. Please note, it is not necessary to set up the SSH Keys. This is only needed if you are going to create a repository of your own on

Information on installing git -

Once you have git installed, simply visit the Moodle mod directory and clone git://, remember to rename the folder to customcert if you do not specify this in the clone command

Eg. Linux command line would be as follow -

git clone git:// customcert

Use git pull to update this repository periodically to ensure you have the latest version.

==================== Download the customcert module. ====================

Visit and download the zip, uncompress this zip and extract the folder. The folder will have a name similar to markn86-moodle-mod_customcert-c9fbadb, you MUST rename this to customcert. Place this folder in your mod folder in your Moodle directory.

nb. The reason this is not the recommended method is due to the fact you have to over-write the contents of this folder to apply any future updates to the customcert module. In the above method there is a simple command to update the files.


========================= Add Fonts to TCPDF. =========================

For customization, you have a couple of options in the Custom Certificate module. One of the most common customizations is, adding fonts to the Certificate creator.

Custom Certificate uses a pdf creator called TCPDF, which embeds fonts into the PDF file, so that you can view fonts, even though they are not installed on the target machine. This requires you to tell TCPDF which fonts to take.

Importing Fonts into TCPDF is quite simple:

  1. Convert the font you want embedded into the tcpdf format (for example using or

  2. Put the converted files into the folder: /path/to/moodle/lib/tcpdf/fonts

  3. Use the font in your certificate builder

  4. Enjoy

> Please note that inserting a file into the tcpdf folder is considered a "core hack" and might not be available on some commercially hosted systems. Please check your providers agreement on the topic to make sure this is something you're allowed to do.

Moodle 2.9, 3.0

Version information

Version build number
Version release name
2.9/3.0 release (Build: 2016032202)
Stable version
MD5 Sum
Supported software
Moodle 2.9, Moodle 3.0
  • This is the latest release for Moodle 2.9
  • This is the latest release for Moodle 3.0

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Activities

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "assignment") in the "mod" subdirectory.
  4. Visit to finish the installation