> 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/ja/zheng-ming-shu-guan-li/manage-certificates/enabling-crl.md).

# CRL の有効化

証明書失効リスト (CRL) は、明示的に失効された証明書を含む記録です。

{% hint style="danger" %}
必要です **しない** SCEPman では CRL を有効にする必要があります。既定では、SCEPman は失効確認に OCSP を使用します。
{% endhint %}

SCEPman は主に OCSP に依存して証明書の失効状態を確認します。OCSP はリアルタイムの失効確認を可能にするため、動的な作業環境に理想的なプロトコルです。一方、CRL は定期的な更新で動作するため、時間的制約のあるシナリオでは有効性が制限されます。

ただし、CRL はレガシーシステムやアプリケーション、または OCSP が利用できない場合のフォールバックとして引き続き有用です。

{% hint style="warning" %}
CRL には自動失効された証明書は含まれず、Certificate Master で明示的に失効された証明書のみが含まれます
{% endhint %}

## ガイド

{% stepper %}
{% step %}

### 環境変数に移動します

Azure > App Services > SCEPman App Service（Certificate Master ではありません）> 設定 > 環境変数

<figure><img src="https://114237723-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 %}

### 環境変数を追加

Linux App Service プランでは、コロン (:) の代わりに二重アンダースコア (\_\_) を使用する点にご注意ください。例: AppConfig\_\_CRL\_\_RequestToken

<table><thead><tr><th width="247">設定</th><th width="291">説明</th><th>Value</th></tr></thead><tbody><tr><td><a href="/ja/scepman-gou-cheng/application-settings/crl.md#appconfig-crl-requesttoken">AppConfig:CRL:RequestToken</a></td><td><p>CRL の URL を定義します。CRL は DER と 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>例: https://<em>yourscepman</em>.azurewebsites.net/crl/12345678</p></td><td>24文字の <em>文字列</em></td></tr><tr><td><a href="/ja/scepman-gou-cheng/application-settings/crl.md#appconfig-crl-source">AppConfig:CRL:Source</a></td><td>CRL を Azure Storage Account に接続します</td><td>ストレージ</td></tr><tr><td><a href="/ja/scepman-gou-cheng/application-settings/crl.md#appconfig-crl-addcdp">AppConfig:CRL:AddCdp</a></td><td>発行された証明書に CRL 配布ポイントを追加します</td><td>true</td></tr><tr><td><a href="/ja/scepman-gou-cheng/application-settings/crl.md#appconfig-crl-validitydays">AppConfig:CRL:ValidityDays</a></td><td>発行された CRL が有効な日数</td><td><em>浮動小数点</em><br>例 <em>0.1</em> 日 = 2.4 時間</td></tr></tbody></table>

<figure><img src="https://114237723-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 %}

### 環境変数を適用

環境変数を追加した後、\[Apply] を押してください。

<figure><img src="https://114237723-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://114237723-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 %}

### SCEPman App Service を再起動

SCEPman App Service を再起動すると、新しい環境変数が適用されます

<figure><img src="https://114237723-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 %}

### CRL をテスト

事前に設定した Request Token を使用して、次の形式で CRL にアクセスします: https\://*yourscepman*.azurewebsites.net/crl/**{RequestToken}**

<figure><img src="https://114237723-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>

正しく設定されていれば、CRL がダウンロードされます:

<figure><img src="https://114237723-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 %}

### アプリケーションまたはシステムで CRL を使用する

有効にしたら、アプリケーションまたはシステムが証明書検証時に CRL を確認するよう構成されていることを確認し、失効した証明書の使用を防いでください。一部のシステムでは、OCSP が利用できない場合のフォールバックとして CRL を使用できます

他のシステム **のみ** Entra の CBA など、失効に CRL を許可するシステムについては、こちらのガイドをご覧ください:

{% content-ref url="/pages/5160bb6b3dc3b90114ab94e6e8378d559848d642" %}
[Entra ID の証明書ベース認証](/ja/scepman-nodepuroi/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/ja/zheng-ming-shu-guan-li/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.
