> 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/es/administracion-de-certificados/manage-certificates/enabling-crl.md).

# Habilitación de CRL

{% hint style="danger" %}
Tú **OLVIDE** debes habilitar CRL para SCEPman. De forma predeterminada, SCEPman usa OCSP para la revocación.
{% endhint %}

SCEPman depende principalmente de OCSP para comprobar el estado de revocación de un certificado, ya que OCSP permite la revocación en tiempo real, lo que lo convierte en el protocolo ideal para entornos de trabajo dinámicos. En cambio, CRL funciona con actualizaciones programadas, lo que limita su eficacia en escenarios sensibles al tiempo.

Sin embargo, CRL sigue siendo útil para sistemas heredados y aplicaciones, o como alternativa cuando OCSP no está disponible.

{% hint style="warning" %}
La CRL no contendrá certificados que hayan sido revocados automáticamente, solo certificados que hayan sido revocados explícitamente en Certificate Master
{% endhint %}

## Guía

{% stepper %}
{% step %}

### Ve a tus Variables de entorno

Azure > App Services > SCEPman App Service (no Certificate Master) > Configuración > Variables de entorno

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

{% step %}

### Agregar variables de entorno&#x20;

Ten en cuenta que los planes de App Service de Linux usan un guion bajo doble (\_\_) en lugar de dos puntos (:). Por ejemplo: AppConfig\_\_CRL\_\_RequestToken

<table><thead><tr><th width="247">Configuración</th><th width="291">Descripción</th><th>Valor</th></tr></thead><tbody><tr><td><a href="/pages/8e0295a08cf849c4073309f4c469fc391d9353dc#appconfig-crl-requesttoken">AppConfig:CRL:RequestToken</a></td><td><p>Define la URL de la CRL. La CRL está disponible tanto en DER como en PEM</p><p><br><strong>DER</strong>: https://<em>yourscepman</em>.azurewebsites.net/crl/<strong>{RequestToken}</strong></p><p></p><p><strong>PEM:</strong> https://yourscepman.azurewebsites.net/crl/pem/<strong>{RequestToken}</strong><br><br>Ejemplo: https://<em>yourscepman</em>.azurewebsites.net/crl/12345678</p></td><td>24 caracteres <em>cadena</em></td></tr><tr><td><a href="/pages/8e0295a08cf849c4073309f4c469fc391d9353dc#appconfig-crl-source">AppConfig:CRL:Source</a></td><td>Conecta la CRL con tu cuenta de Azure Storage</td><td>Storage</td></tr><tr><td><a href="/pages/8e0295a08cf849c4073309f4c469fc391d9353dc#appconfig-crl-addcdp">AppConfig:CRL:AddCdp</a></td><td>Agrega un punto de distribución de CRL a los certificados emitidos</td><td>verdadero</td></tr><tr><td><a href="/pages/8e0295a08cf849c4073309f4c469fc391d9353dc#appconfig-crl-validitydays">AppConfig:CRL:ValidityDays</a></td><td>La cantidad de días durante los cuales una CRL emitida es válida</td><td><em>Número decimal</em><br>Ejemplo <em>0.1</em> días = 2,4 horas</td></tr></tbody></table>

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

{% step %}

### Aplicar variables de entorno

Pulsa Aplicar después de haber agregado las variables de entorno.&#x20;

<figure><img src="/files/8ef35475f92f5f7def6364dd0651d9b33341b8c4" alt=""><figcaption></figcaption></figure>

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

{% step %}

### Reiniciar el App Service de SCEPman

Las nuevas variables de entorno se aplican después de reiniciar el App Service de SCEPman

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

{% step %}

### Probar CRL

Ve a tu CRL usando el Request Token configurado previamente en el formato de https\://*yourscepman*.azurewebsites.net/crl/**{RequestToken}**

<figure><img src="/files/32bf23a17372e0e2817eef8d5e09e65e1850fabe" alt=""><figcaption></figcaption></figure>

Si está configurado correctamente, se descargará tu CRL:

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

{% step %}

### Usar CRL con aplicaciones o sistemas

Una vez habilitado, asegúrate de que tus aplicaciones o sistemas estén configurados para comprobar la CRL durante la validación del certificado y así evitar el uso de certificados revocados. Algunos sistemas permiten CRL como opción de respaldo en caso de que OCSP no esté disponible

Otros sistemas **solo** permiten CRL para la revocación, como CBA para Entra; consulta nuestra guía aquí:&#x20;

{% content-ref url="/pages/33b4b823c06221540c503ceecceead388093c2c8" %}
[Autenticación basada en certificados para Entra ID](/es/despliegue-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 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/es/administracion-de-certificados/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.
