> 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

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

SCEPman s'appuie principalement sur OCSP pour vérifier l'état de révocation d'un certificat, car 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, CRL fonctionne avec des mises à jour planifiées, ce qui limite son efficacité dans les scénarios sensibles au temps.

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

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

## Guide

{% stepper %}
{% step %}

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

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

<figure><img src="/files/1997b1ff9eaa508d2d42b4bef2a5d1d96b7808f7" 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 d'un deux-points (:). Par exemple : AppConfig\_\_CRL\_\_RequestToken

<table><thead><tr><th width="247">Paramètre</th><th width="291">Description</th><th>Valeur</th></tr></thead><tbody><tr><td><a href="/pages/98f9be7e254bad4f3fd146f195ff1472ad1df9d7#appconfig-crl-requesttoken">AppConfig:CRL:RequestToken</a></td><td><p>Définit l'URL du CRL. Le 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>chaîne de 24 caractères <em>chaîne</em></td></tr><tr><td><a href="/pages/98f9be7e254bad4f3fd146f195ff1472ad1df9d7#appconfig-crl-source">AppConfig:CRL:Source</a></td><td>Connecte le CRL à votre Azure Storage Account</td><td>Stockage</td></tr><tr><td><a href="/pages/98f9be7e254bad4f3fd146f195ff1472ad1df9d7#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="/pages/98f9be7e254bad4f3fd146f195ff1472ad1df9d7#appconfig-crl-validitydays">AppConfig:CRL:ValidityDays</a></td><td>Le nombre de jours pendant lesquels un CRL émis est valide</td><td><em>Virgule flottante</em><br>Exemple <em>0.1</em> jours = 2,4 heures</td></tr></tbody></table>

<figure><img src="/files/87e6f7902a6493a193369817c7d079102cf64e24" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Appliquer les variables d'environnement

Appuyez sur Appliquer après que les variables d'environnement ont été ajoutées.

<figure><img src="/files/22b4eaae3baa5a702c5bab6b96f7f9cca27c4994" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/db0293ed29594af07494d8a9dcf62a104296e600" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Redémarrer le SCEPman App Service

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

<figure><img src="/files/7f7ddaeccced6d8205f5a6d640e80e38c300629f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Tester le CRL

Accédez à votre CRL en utilisant le jeton de requête défini précédemment au format https\://*yourscepman*.azurewebsites.net/crl/**{RequestToken}**

<figure><img src="/files/a758d4d1e66acca1e2feaffc2d740dbfb1e66c93" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/b0a7534d0ad170edf76b7b3c855a43c91eacb977" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

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

Une fois activé, assurez-vous que vos applications ou systèmes sont configurés pour vérifier le CRL lors de la validation des certificats afin d'empêcher l'utilisation de certificats révoqués. Certains systèmes permettent le CRL comme option de repli au cas où OCSP n'est pas disponible

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

{% content-ref url="/pages/7061ab76ff510cf57130ad4c300f21b7ff9562d5" %}
[Authentification basée sur des certificats pour Entra ID](/fr/deploiement-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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
