Why teams need Moodle custom certificates
When an organization must prove that a learner finished a course, a completion record in Moodle is only the first step. The Custom certificate plugin (mod_customcert) adds a printable or downloadable certificate built from a template, issued automatically when a defined condition is met, such as passing a quiz or finishing every activity in a course. Teams reach for it when the core completion reports and the certificate-style outputs that ship with core do not give them control over layout, wording, issue rules and the evidence trail that a compliance lead or a continuing professional development (CPD) auditor expects. Because it is a third-party community plugin rather than part of Moodle core, the first check is whether a release of it is listed for the exact Moodle version you run, and whether that release is still maintained. Confirm this in the plugin's listing on the Moodle plugins directory before you scope any work.
A completion record is an internal database state: a row showing that a user met the criteria on a date. A certificate is a document a learner can hold and a third party can check. The gap between the two is where most projects go wrong. A certificate that shows a name and a date tells a regulator little unless it also carries a verifiable reference that ties back to the issuing record, and the site has kept that record intact. Decide early what a verifier should be able to confirm, whether that is the learner name, course title, completion date, hours or a unique code, and who answers a verification request when the learner's account has since been suspended or renamed. Those answers shape the template fields, the storage of issued records and the retention settings, so they belong in the requirements, not in a later design review.
Treat the plugin as a dependency your team must keep aligned with Moodle. Core upgrades, including the move to a new major release such as 5.3, can change APIs that community plugins rely on, and a certificate that stops issuing silently is a serious failure for a CPD programme. Ask the implementer to record the exact plugin release, the Moodle version it was tested against, and the test cases used for issue rules, verification and template rendering, then repeat those tests on every upgrade. Also confirm who owns the plugin code after handover, because a certificate system that only one contractor understands is an audit risk in its own right.
Which certificate design fits which programme
Internal completion certificates confirm that a learner finished a course or induction module for the organization's own records, such as mandatory policy training or onboarding. The audience is usually the learner, their line manager and the training team, so the template can stay simple and the verification need is modest. The main design work is tying issue to a completion condition that the course already enforces, so the certificate is never issued by hand.
- Template: a single branded layout with the learner's full name, course name, completion date and the issuing organization, with no grade unless policy requires one.
- Issue rule: release the certificate when the course completion criteria are met, so the certificate and the completion report agree.
- Verification: a unique code printed on the certificate is usually enough, checked against the Moodle site by staff who have access.
- Records: keep the completion date and course version in the audit trail, because policy courses are often revised and learners may have completed an older version.
- Retention: confirm with HR or compliance how long completion evidence must be kept, since that period sets how long the course and its completion data must survive.
Check whether the certificate needs to show the course version or only the date, and whether a revised course should reissue certificates to learners who completed the earlier one.
External CPD or continuing education certificates are shown to professional bodies, employers and regulators outside the institution, so they need a stronger identity and verification design. The certificate often states the number of hours or credits claimed, the accreditation basis and the provider's details. Those claims must match what the course actually assesses, which is why the issue rule and the template must be agreed with whoever accredits the programme.
- Template: add the provider's registration details, learning hours or credit value as the accreditor defines them, and the assessment outcome that the claim depends on.
- Issue rule: combine completion with an assessment pass, and check whether attendance or time-on-task requirements apply before the certificate is released.
- Verification: use a unique code that an outside party can check through a public verification page or a documented process, and decide what the page reveals.
- Records: store the evidence behind each credit claim, including assessment results and the course version, so a claim can be defended after the fact.
- Accreditation terms: confirm with the accreditor which wording, hour basis and record retention they require, since these are set by them, not by Moodle.
Ask the accreditor whether they will accept a Moodle-issued certificate directly or require a separate statement, and whether any Open Badges output is expected instead.
A multi-course programme issues one certificate only after a learner completes several courses, possibly in a set order and within a set period. The design problem is that completion is spread across courses, and the certificate must follow from the whole set without relying on someone counting course completions by hand. Dependencies, groupings and expiry rules need to be decided before the first course is built, because changing them later affects learners already partway through.
- Template: list the constituent courses and their completion dates on the certificate, so the reader can see what the programme covered.
- Issue rule: base issue on a set of course completion conditions that together cover the programme, and decide whether order and time windows matter.
- Verification: the code should resolve to the programme record, not to a single course, so a reader can confirm all the parts.
- Records: keep a programme-level record that links each course completion, because the certificate is only as reliable as the data behind it.
- Changes: decide how a course that is retired or replaced affects learners who began the programme under the old structure.
Test the issue rule with a small set of learner accounts that complete the courses in different orders before opening the programme to the full cohort.
Configuration options for certificate templates and issue rules
This table compares the main configuration choices for the Custom certificate plugin in Moodle, from template layout to delivery. Read each row for when the option fits and what to check in the plugin documentation for your Moodle version before you build it. The main takeaway is that issue timing, completion linkage and verification settings decide whether a certificate can be trusted later, so settle them before learners earn anything.
| Option | What it controls | When it fits | What to confirm for your version |
|---|---|---|---|
| Template layout and dynamic fields | Page size, orientation, background image, text blocks and fields such as learner name, course name and completion date | Branded certificates that must match a signed design or a CPD format with fixed wording | Which dynamic fields the installed plugin release offers and how they render in PDF output |
| Issue timing | Whether a certificate is issued on completion, on a set date, or only when a teacher or manager releases it | Automatic awards for completion courses; manual release where assessment must be checked first | Whether the release mode you need exists in your installed version and how it behaves for re-enrolled users |
| Completion criteria linkage | The activity and course completion conditions that unlock the certificate | Courses with clear completion rules, such as all activities marked complete or a graded threshold | How the plugin reads Moodle completion data and whether changes to completion rules apply to learners already awarded |
| Expiry or validity settings | Whether a certificate carries a validity period and how renewal is shown | CPD or licensing programmes where certificates lapse after a fixed period | Whether validity is supported at all in your release; if not, plan renewal tracking outside the plugin |
| Verification code behaviour | The unique code printed on each certificate and the public or restricted page used to check it | Any certificate an employer, regulator or accreditor may need to verify independently | How codes are generated, whether the check page is public or login-only, and whether codes survive template changes |
| Delivery to learners | Download from the course, email with the PDF attached, or storage in the user's file area | Learners who need a copy for records, and programmes where certificates appear in a profile | Whether email delivery is enabled on your site, how files are stored, and who can see issued copies |
| Re-issue and template changes | Whether an issued certificate keeps its original layout after the template is edited | Programmes that revise wording or branding while earlier certificates must stay unchanged | Whether issued records store the template at issue time or regenerate from the current template |
How to set up certificate issuing in Moodle
This sequence takes a Moodle site from version check to a tested certificate that a learner can download and a third party can verify. Each step closes with a check, so problems surface on a dummy account before any real learner receives a certificate.
Confirm version and plugin compatibility
Start by recording your Moodle version and the PHP and database versions your server runs, then compare them with the Custom certificate plugin's release notes for that Moodle version. Moodle 5.1 requires 64-bit PHP 8.2 or later and specific database versions, and Moodle 5.3 raises those minimums, so check both against your server before you install anything. The step is done when you have a written record of the Moodle version, the plugin release you will install and the matching server stack. If the plugin has no release for your version, decide whether to upgrade Moodle first.
Install the plugin through the standard process
Install the Custom certificate plugin through the site administration plugin installer or by placing the code in the mod folder and running the Moodle upgrade, so the database tables are created in the normal way. Do this on a staging copy of the site first, using a recent backup of production data. The step is done when the plugin appears under installed activity modules, the upgrade finishes without errors and the site's plugin overview shows no warnings about the new code.
Build the certificate template
Create a certificate activity in a test course and design the template: the layout of the PDF, the learner's name, the course name, the completion date, any signatory block and the organization's logo. Keep the design in one place so it can be reused across courses. Generate a sample PDF from the template and check the text placement, fonts, page size and that the name field fills correctly with a long name. The step is done when a sample PDF opens cleanly and every field shows the value you expect.
Define issue rules tied to completion
Set the certificate to issue only when the learner meets the course completion criteria. Confirm those criteria in the course settings first, including activity completion conditions and any grade requirement, because the certificate can only be as strict as the completion data behind it. Then select the required completion condition in the certificate settings and set the availability dates if you use them. The step is done when the course completion report shows the test learner as incomplete before the criteria are met, and the certificate is locked until then.
Configure verification codes
Enable the verification code option so each issued certificate carries a code that can be checked against the record in Moodle. Decide who can view the verification page and what it shows, such as learner name, course and issue date, and avoid displaying data you would not give a stranger. Record where the code appears on the PDF. The step is done when you can copy a code from an issued sample certificate and confirm it returns the expected record while an incorrect code returns nothing.
Test with a dummy learner account
Create a dummy learner account, enrol it in the test course and complete every required activity as that user. Check that the certificate becomes available only at the point the completion criteria are satisfied and that it appears in the learner's certificate list. Download the PDF as the learner and compare it with the sample. The step is done when the dummy learner receives one correctly populated certificate, the verification code resolves, and a second attempt does not create a duplicate record.
Confirm the completion data behind the certificate
Before going live, export the completion report for the test course and check that the completion dates match the certificate issue date. Ask your course owners to confirm the criteria match the published requirements for the course, because a certificate issued on incorrect criteria is hard to withdraw. Keep the test course, template and verification settings documented so the same configuration can be applied to production. The step is done when the course owner signs off the criteria in writing and the export matches the test certificate.
Plan the plugin upgrade path
Record that the plugin must be checked each time Moodle moves to a new version, since the Moodle upgrade may require a newer plugin release. Add the plugin to your upgrade checklist, test it on staging with the new Moodle version before production, and keep a copy of the template and settings so a reinstall can restore them. The step is done when the upgrade checklist names an owner for the plugin check and the staging test is scheduled before the next Moodle upgrade.
How a completion event becomes an issued certificate
The flow starts when a learner finishes an activity and Moodle core completion tracking marks the course as complete. From there the Custom certificate plugin takes over: its issue rule checks the completion state, a PDF is generated from the template, and the certificate is stored in Moodle for download. A third party checks authenticity by entering the verification code on the site. Confirm where the completion boundary sits in your own course settings before you trust the issue rule.
Hand-off from Moodle core completion tracking to the Custom certificate plugin.
Security and data risks in certificate issuing
A certificate is only as trustworthy as the process that issues and verifies it. The risks below cover how codes are generated, what a public verification page reveals, how templates are written, where issued files sit and what records survive. Review them together before the first certificate goes to a learner.
Predictable verification codes
Verification codes let a third party confirm that a certificate is genuine. If codes are short, sequential or derived from learner details, someone can guess valid codes and check them against the verification page. Ask your Moodle administrator which code format the Custom certificate plugin generates in your version, and whether the codes are random enough to resist guessing at your expected volume. Test by requesting several codes in a row and checking for any visible pattern.
Moodle 5.1 notesLearner data on public verification pages
A public verification page often shows the learner's full name, course, and completion date to anyone holding the code. Decide which fields are truly needed for a third party to confirm a credential, and remove the rest from the page. Check whether the page is indexed by search engines, whether it can be reached without signing in, and whether email addresses or ID numbers appear in the markup or in the page title.
Template injection and unsafe custom HTML
Certificate templates often accept custom text or HTML, and that text is rendered into a PDF or web page. Editors who can paste arbitrary markup, scripts or remote image links can alter the output or leak data when the file is opened. Restrict who can write raw HTML, avoid embedding external resources in templates, and test a template with unusual characters in the learner name field, such as quotes, angle brackets and very long strings.
Access to issued certificate files
Issued PDFs are copies of learner records and may be stored in a file area, emailed, or cached by the browser. Confirm who can open a stored file directly by its URL, whether file access follows course enrolment and capability checks, and what happens to old files when a learner leaves the course. Ask for a test where a user without the right role tries to fetch another learner's certificate by guessing its address.
Backups and audit trail of issued records
Each issued certificate is a record that may need to be proven years later, so it must survive backups and restores. Confirm that issued records are included in your backup routine and tested in restores, and that edits to templates and issue rules are logged. Without an audit trail, you cannot show which template version produced a given certificate or who changed the rule that issued it.
Editor and issuer role review
Template editing and certificate issuing are separate powers, and both should be limited to named staff. Review the roles that hold permission to edit templates, issue manually, revoke or reissue certificates, and view the verification data. Remove these rights from broad teacher or manager roles where they are not needed, and review the list on a schedule that matches your change process.
Moodle plugin typesKeeping the plugin aligned with the Moodle version
Third-party plugins such as Custom certificate have to be checked against every Moodle upgrade, because a plugin built for one core release can break, silently stop issuing, or fail to install on the next. Treat the plugin version as part of your Moodle version. Before any core upgrade, confirm that the plugin's published release supports the target Moodle version, and record the plugin version that is live today so you can roll back to it. Do not assume that a plugin which worked on the previous release will work on the next one without a test.
The platform requirements change between releases, so the check must start with the core release notes rather than the plugin listing alone. Moodle 5.1 requires 64-bit PHP 8.2 or later and PostgreSQL 15, MySQL 8.4, MariaDB 10.11 or SQL Server 2017 or later, and it moves the web server document root to the /public directory. Moodle 5.3 raises the floor to 64-bit PHP 8.3 or later and PostgreSQL 17, MariaDB 11.4 and SQL Server 2019 or later. Confirm whether your server stack, web server configuration and database version meet the target release, and confirm the upgrade path, since the release notes state which earlier versions can upgrade directly. Check the Moodle 5.1 release notes and the Moodle 5.3 release notes for the exact figures before you schedule the change.
Run every core and plugin upgrade on a staging copy of the production site first. Restore a recent production backup, including the database and the moodledata directory, apply the same PHP, database and web server settings, then install the target plugin version. Issue a test certificate from each template, confirm that the issue rule fires on a completed course, and check that the verification code still resolves. Keep the plugin version pinned in your deployment repository and upgrade it only as a deliberate change that passes this test. Ask the plugin maintainer which Moodle versions they test against and how they publish fixes between releases.
Limits to confirm in your environment
A certificate plugin touches your Moodle version, your audit evidence and your learners' records at the same time. The checks below connect those three areas, and each one is easier to settle before the template is built than after certificates have been issued.
Plugin support for your release
Confirm that the Custom certificate plugin has a version built for the exact Moodle release you run, and check its compatibility note before you install it. Plugin versions are tied to Moodle core, so a plugin that works on your current release may not be supported on the release you plan to move to. Ask the plugin maintainer or check the plugin directory listing for the list of supported Moodle versions, and make that list part of your upgrade plan.
Verification features auditors expect
Confirm how a third party can check that a certificate is genuine. Ask whether the plugin prints a unique code, whether that code can be looked up on a public or controlled page, and whether the lookup shows the holder name, course and issue date. Auditors and accreditors often ask for a verification route that does not depend on the learner forwarding a PDF, so write down what your assessors expect before you choose a design.
Certificate storage and retention
Find out where issued certificate files are stored, how long they remain, and whether the plugin keeps a record of each issue event separately from the file. Some sites keep only the generated PDF, while others also need the issue date, template version and recipient record. Set the retention period against your own record-keeping obligations and confirm that deleting a learner account does not silently remove evidence you must keep.
Multilingual template support
Check whether a template can carry text in several languages and whether it selects the right wording from the learner's language setting. Templates that hard-code one language in the layout, or that leave course names untranslated, produce mixed-language documents for multilingual cohorts. Test a certificate for each language you offer, including right-to-left scripts if they apply, and confirm that fonts used for the characters in those languages are embedded in the PDF.
Regenerating files after upgrades
Ask whether a certificate issued on one Moodle release can be generated again later with the same layout, fonts, data and output. A learner who asks for a copy after an upgrade expects the same document, and a changed font or template field can make a reissued copy differ from the original. Keep a copy of every issued file as the record of truth, and test regeneration against a sample set after each upgrade in a staging copy.
Rules tied to completion data
Confirm how the plugin reads completion status and whether it reacts to changes in course completion after issue. A rule that checks completion once at enrolment, or that does not re-check after a grade change, can issue certificates to learners who no longer meet the criteria. Document which completion source the plugin depends on and test the rule with a learner whose completion is revoked or reset.
Moodle 5.1 notesQuestions buyers ask before hiring help with certificates
What drives the cost of setting up certificates in Moodle?
The main drivers are the number of certificate templates, the number of issue rules, how verification works, how many courses are involved and how much testing the evidence needs. A single template tied to one course completion is a small job. Several templates for different programs, CPD hour statements, expiry dates and public verification pages add design, build and test work. Ask any provider to price these items separately in a written scope, so you can see which ones you are paying for and which can wait. Any quote should also state what is one-time (design, build, testing) and what recurs (upgrades, plugin maintenance, retesting after Moodle releases).
Can our team set up Moodle certificates without outside help?
Yes, for simple cases. A single certificate layout tied to course completion is within reach of a Moodle administrator who reads the plugin documentation and tests on a sandbox course. The work gets harder when certificates serve as regulated evidence, for example for professional CPD hours, licensing or accreditation. In that case the team must decide what each certificate asserts, how a third party can verify it, how records are retained and how a change to a template is recorded. Those decisions usually involve compliance and legal staff, and an outside team can help prepare the configuration and the evidence trail, but it does not replace the people who own the claim.
How long does a certificate project take?
The duration depends on the scope: how many templates and issue rules there are, whether verification is public, how many courses are covered and how long reviews by your stakeholders take. Nothing in the researched facts for this topic gives a fixed timeline, so do not accept a generic figure. Ask for a schedule in the written scope that lists the decision points where your side must respond, such as approving wording or confirming completion criteria. Most delays come from those approvals, not from the Moodle configuration itself.
What do we need to provide before certificate work starts?
The work needs a few inputs from your side before the build starts. Decide the completion criteria for each course, since certificates are only as reliable as the completion rules behind them. Supply sample certificates or designs you already use, and the exact wording your legal or accreditation team has approved. Provide a test course and a set of test learner accounts so templates can be checked without touching live records. Name a person who can sign off on each template and each issue rule. Missing any of these usually adds rework later.
How do Moodle upgrades affect the Custom certificate plugin?
Third-party plugins such as Custom certificate must be checked against each Moodle release before you upgrade, because the plugin and core can change at the same time. Moodle ships major releases every six months and minor point releases every two months, so the plugin version has to match the Moodle version you run. Plan a test upgrade on a copy of the site, rerun the certificate tests and confirm that issued certificates still render and verify. Ask any provider how they will handle plugin updates and whether that work is included in a retainer or quoted separately. Also confirm the Moodle version and database and PHP requirements for your target release in the official release notes.
How do verification codes and certificate records stay trustworthy?
A verification code only helps if the record behind it is stable and the check is controlled. Decide what a verifier can see: the learner name, course, date, and whether the certificate is still valid. Keep the verification design simple enough that a third party can use it without a Moodle login, and avoid exposing more personal data than the verifier needs. Test that a revoked or reissued certificate is handled correctly, and document who can change issue rules. Before publishing verification to outside parties, have your privacy and compliance reviewers approve the data shown. Your auditor, not the implementer, decides whether the evidence is sufficient.
Does DeployOpen issue certificates or certify our CPD hours?
No. DeployOpen configures Moodle so that certificates can be issued from completion rules you approve, tests the templates and issue logic, and documents the controls and evidence trail. DeployOpen does not issue audit reports, attestations or certifications, and it does not decide whether a certificate meets a professional body's requirements. Those decisions belong to your organization and to the accreditor or certification body that reviews your program. Ask for the written scope to name exactly which configuration, testing and documentation is delivered.
What should a certificate test plan cover before go-live?
A useful test plan covers the paths a real learner will take. Test a learner who completes every condition, one who misses a single condition, one who completes out of order, and one who is re-enrolled. Check the rendered PDF or certificate page on the browsers and devices your learners use, and confirm names with accents and long course titles display correctly. Verify that each verification code resolves and that a revoked record stops validating. Run these tests again after any Moodle upgrade, plugin update or template change, and keep the results with the approved configuration.
What a certificate engagement covers
The engagement produces a set of written and configured deliverables that together let your team issue certificates from Moodle and show how they work. The core items are written requirements for the certificate template and issue rules, the Custom certificate plugin configured on infrastructure you control, test evidence from a staging site, operator notes for the people who run the site, and an upgrade checklist for each Moodle minor release. The requirements document is where the decisions are recorded: which courses issue a certificate, which completion conditions trigger issue, what the verification code encodes, which fields appear on the certificate, and who may reissue or revoke one. Those decisions should be signed off by the people who own the credential before any template work starts.
DeployOpen prepares evidence for your assessments, including test records, configuration exports, access settings for the certificate and verification pages, and the change log for the plugin version in use. DeployOpen does not issue audit reports, attestations or certifications. Where a certificate carries a claim that an external body or regulator will check, confirm with that body what evidence it expects and whether it accepts a self-hosted Moodle record. Ask for the scope of deliverables, the acceptance criteria for each one and the test cases used in writing before you accept a quote, since those define what the fixed scope covers.
Most of the recurring effort sits after go-live. Each Moodle minor release can require a new version of the Custom certificate plugin, so the upgrade checklist should name the plugin version that matches the Moodle version you run, the test cases to repeat on staging, and the owner who approves the change. Confirm the supported Moodle versions for the plugin in its plugin directory entry before you schedule an upgrade, and check the Moodle releases page for the current support windows. Decide early whether ongoing plugin maintenance, testing and upgrade work sits with your own team or under a retainer, because that choice determines who holds the checklist when a release arrives.
How DeployOpen works on this
DeployOpen plans, builds, documents and supports Moodle custom certificates inside your own infrastructure, so certificate templates, completion rules and verification come from one written scope. We hand over the configuration, the evidence and a runbook your team can operate and keep aligned with each Moodle release.
How we scope
- Agree in writing which courses and programs issue certificates, and which completion conditions trigger each one
- Define the certificate templates, layout elements, signatories and language versions needed for each program
- Document how verification codes are generated, displayed and checked, and who may query them
- Confirm the Moodle version in use and the plugin release that matches it before build work starts
How we build
- Configure the Custom certificate plugin in a staging copy of your site, with templates and issue rules matched to the agreed scope
- Test issue rules against sample learners covering passed, failed, partial and re-enrolled completion paths
- Check that certificates issue once, store the correct completion dates and render correctly in each supported language
- Review the plugin code and its settings against your site's security and data handling requirements before release
How we hand over
- Deliver a configuration record listing templates, issue rules, verification settings and the owners of each item
- Provide test evidence showing each issue rule, template and verification path, ready for your internal or external review
- Train course administrators on issuing, reissuing and revoking certificates, and on what to do when a learner disputes one
- Document the upgrade procedure for the plugin and the Moodle version pairing for your site
How we support
- Offer ongoing support and upgrade work as a retainer, covering plugin updates after each Moodle release you adopt
- Retest certificate issuing and verification after every Moodle upgrade, plugin update or template change
- Agree response expectations and the support channel in the written scope, so your team knows who to call and when

