> 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 n’avez **PAS** besoin d’activer la CRL pour SCEPman. Par défaut, SCEPman utilise OCSP pour la révocation.
{% endhint %}

SCEPman utilise principalement OCSP pour vérifier l’état de révocation des certificats. OCSP permet une révocation en temps réel, ce qui en fait le protocole idéal pour les environnements de travail dynamiques. À l’inverse, la CRL repose sur des mises à jour planifiées, ce qui limite son efficacité lorsque le temps est un facteur critique.

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

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

## Guide

{% stepper %}
{% step %}

### Accéder aux variables d’environnement

Azure > App Services > App Service SCEPman (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

Utilisez les noms de paramètres correspondant au système d’exploitation de votre App Service.

{% tabs %}
{% tab title="Linux" %}
Les App Services Linux utilisent des doubles traits de soulignement (`__`) à la place des deux-points.

<table><thead><tr><th width="247">Paramètre</th><th width="291">Description</th><th>Valeur</th></tr></thead><tbody><tr><td><a href="https://docs.scepman.com/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 aux formats DER et 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>chaîne de 24 <em>caractères</em></td></tr><tr><td><a href="https://docs.scepman.com/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-source">AppConfig__CRL__Source</a></td><td>Connecte la CRL à votre compte Azure Storage</td><td>Storage</td></tr><tr><td><a href="https://docs.scepman.com/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-addcdp">AppConfig__CRL__AddCdp</a></td><td>Ajoute un point de distribution de CRL aux certificats émis</td><td>true</td></tr><tr><td><a href="https://docs.scepman.com/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-validitydays">AppConfig__CRL__ValidityDays</a></td><td>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>
{% endtab %}

{% tab title="Windows" %}
Les App Services Windows utilisent des deux-points (`:`) dans les noms de paramètres.

<table><thead><tr><th width="247">Paramètre</th><th width="291">Description</th><th>Valeur</th></tr></thead><tbody><tr><td><a href="https://docs.scepman.com/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 aux formats DER et 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>chaîne de 24 <em>caractères</em></td></tr><tr><td><a href="https://docs.scepman.com/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-source">AppConfig:CRL:Source</a></td><td>Connecte la CRL à votre compte Azure Storage</td><td>Storage</td></tr><tr><td><a href="https://docs.scepman.com/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-addcdp">AppConfig:CRL:AddCdp</a></td><td>Ajoute un point de distribution de CRL aux certificats émis</td><td>true</td></tr><tr><td><a href="https://docs.scepman.com/fr/configuration-de-scepman/application-settings/crl.md#appconfig-crl-validitydays">AppConfig:CRL:ValidityDays</a></td><td>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>
{% endtab %}
{% endtabs %}

<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

Cliquez sur Appliquer après avoir ajouté les variables d’environnement.

<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 le service d’application SCEPman

Les nouvelles variables d’environnement sont appliquées après le redémarrage du service d’application SCEPman

<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 cette option 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’empêcher l’utilisation de certificats révoqués. Certains systèmes permettent d’utiliser la CRL comme solution de secours lorsque OCSP n’est pas disponible.

D’autres systèmes **uniquement** autorisent l’utilisation de la CRL pour la révocation, par exemple CBA pour Entra. Consultez notre guide ici :

{% content-ref url="/pages/7061ab76ff510cf57130ad4c300f21b7ff9562d5" %}
[Authentification basée sur les certificats pour Entra ID](https://docs.scepman.com/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.
