# Expiry date in certificates

You might want a course certificate to be valid for just a specific amount of days. You can configure that in the course settings.

## How do I set it?

* Open the course editor and the specific course for which the certificate's expiry date is being configured.
* Scroll down to **course settings** and click on the "**Enable certificate expiration**" toggle.
* Fill in the box with the **number of days** after which the certificate will expire.&#x20;

i.e. If you set it to 1 day, the certificate will expire the following day.

## What happens when the certificate expires?

1. **Students**:&#x20;
   1. will receive a **push notification** on the platform that their certificate has expired. The first time they log into the platform after expiry, they will be prompted to retake and complete the course to get a new valid certificate.&#x20;
   2. Their "Download certificate" button will change to **"Retake course" button**. Clicking on it, they will be able to start the course right away.
2. **Admins**:

   1. Expired courses and certificates will be tagged as "**Expired**".&#x20;
   2. The retaken course will be tagged as an "**In progress**" separated course.&#x20;

   \
   In other words, the moment the student starts retaking the course, all its new metrics will show up in a new course row separated from the original expired course . Admins will be able to:

   1. Access the expired course metrics and certificate, but not its deliverables and test results.
   2. Access the "new" (retake) course metrics, with its deliverables, test results and certificate.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://atrilio.gitbook.io/atrilio-users-guide/certificates/expiry-date-in-certificates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
