> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/fr/gestion-des-certificats/manage-certificates/enabling-crl.md).

# Activation de la CRL

Une liste de révocation de certificats (CRL) est un registre qui contient les certificats qui ont été explicitement révoqués.

{% hint style="danger" %}
Vous devez **PAS** activer la CRL pour SCEPman. Par défaut, SCEPman utilise l’OCSP pour la révocation.
{% endhint %}

SCEPman s’appuie principalement sur l’OCSP pour vérifier l’état de révocation des certificats, car l’OCSP permet une révocation en temps réel, ce qui en fait le protocole idéal pour les environnements de travail dynamiques. En revanche, la CRL fonctionne avec des mises à jour planifiées, ce qui limite son efficacité dans les scénarios sensibles au facteur temps.

Cependant, la CRL reste utile pour les systèmes et applications hérités, ou comme solution de repli lorsque l’OCSP n’est pas disponible.

{% hint style="warning" %}
La CRL ne contiendra pas les certificats qui ont été révoqués automatiquement, uniquement ceux qui ont été explicitement révoqués dans Certificate Master
{% endhint %}

## Guide

{% stepper %}
{% step %}

### Accédez à vos variables d’environnement

Azure > Services d’application > SCEPman App Service (pas Certificate Master) > Paramètres > Variables d’environnement

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FBUKjjEZjaMW4aB9PW8Ck%2Fimage.png?alt=media&amp;token=ebfbb935-66e8-471b-8e1b-81d2cc5bb221" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Ajouter des variables d’environnement

Veuillez noter que les plans App Service Linux utilisent un double soulignement (\_\_) au lieu de deux-points (:). Par exemple : AppConfig\_\_CRL\_\_RequestToken

<table><thead><tr><th width="247">Paramètre</th><th width="291">Description</th><th>Value</th></tr></thead><tbody><tr><td><a href="/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-requesttoken">AppConfig:CRL:RequestToken</a></td><td><p>Définit l’URL de la CRL. La CRL est disponible en DER et en PEM</p><p><br><strong>DER</strong>: https://<em>yourscepman</em>.azurewebsites.net/crl/<strong>{RequestToken}</strong></p><p><strong>PEM :</strong> https://yourscepman.azurewebsites.net/crl/pem/<strong>{RequestToken}</strong><br><br>Exemple : https://<em>yourscepman</em>.azurewebsites.net/crl/12345678</p></td><td>24 caractères <em>chaîne de caractères</em></td></tr><tr><td><a href="/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-source">AppConfig:CRL:Source</a></td><td>Connecte la CRL à votre Azure Storage Account</td><td>Stockage</td></tr><tr><td><a href="/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-addcdp">AppConfig:CRL:AddCdp</a></td><td>Ajoute un point de distribution CRL aux certificats émis</td><td>true</td></tr><tr><td><a href="/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-validitydays">AppConfig:CRL:ValidityDays</a></td><td>Le nombre de jours pendant lesquels une CRL émise est valide</td><td><em>Nombre à virgule flottante</em><br>Exemple <em>0.1</em> jours = 2,4 heures</td></tr></tbody></table>

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fh6CT186Onlo0Jcbpj2X6%2Fimage.png?alt=media&amp;token=99d58cb5-f431-40f8-928b-14a95611450f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Appliquer les variables d’environnement

Appuyez sur Appliquer une fois les variables d’environnement ajoutées.

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FQKJWhPGTRLL3LyefIY00%2Fimage.png?alt=media&amp;token=bbcefc38-36be-4a9b-8359-f4bd3418b431" alt=""><figcaption></figcaption></figure>

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FuPk2gy1bwiosVnRiDhrv%2Fimage.png?alt=media&amp;token=ed75ae50-5cab-454e-924f-904c94e9e232" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Redémarrer SCEPman App Service

Les nouvelles variables d’environnement sont appliquées après le redémarrage de SCEPman App Service

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FULK6GxJy09kLxYQ1AbXy%2Fimage.png?alt=media&amp;token=72cfbd74-049e-483e-892e-4b5dac1a2434" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Tester la CRL

Accédez à votre CRL à l’aide du jeton de requête défini précédemment, au format https\://*yourscepman*.azurewebsites.net/crl/**{RequestToken}**

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FtADhHMEFdwU32z7e1hsM%2Fimage.png?alt=media&amp;token=ad633ca6-9696-44c5-8272-17b3f97996be" alt=""><figcaption></figcaption></figure>

Si la configuration est correcte, votre CRL sera téléchargée :

<figure><img src="https://129332256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FvVbjNdIPjCdoKyIP6T6G%2Fimage.png?alt=media&amp;token=9351e8d9-6dfb-4a16-b8c4-4edfd80f2b77" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Utiliser la CRL avec des applications ou des systèmes

Une fois activée, assurez-vous que vos applications ou systèmes sont configurés pour vérifier la CRL lors de la validation des certificats afin d’éviter l’utilisation de certificats révoqués. Certains systèmes autorisent la CRL comme option de secours si l’OCSP n’est pas disponible

D’autres systèmes **uniquement** autorisent la CRL pour la révocation, comme CBA pour Entra, veuillez consulter notre guide ici :

{% content-ref url="/pages/7061ab76ff510cf57130ad4c300f21b7ff9562d5" %}
[Authentification basée sur les certificats pour Entra ID](/fr/deploiement-de-scepman/deployment-guides/scenarios/certificate-based-authentication-for-entra-id.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.scepman.com/fr/gestion-des-certificats/manage-certificates/enabling-crl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
