> 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/scepman-gou-cheng/application-settings/ocsp.md).

# OCSP

{% hint style="info" %}
これらの設定は SCEPman App Service にのみ適用し、Certificate Master には適用しないでください。以下を参照してください [SCEPman 設定](/ja/scepman-gou-cheng/application-settings.md).
{% endhint %}

## AppConfig:OCSP:UseAuthorizedResponder

*Linux: AppConfig\_\_OCSP\_\_UseAuthorizedResponder*

{% hint style="info" %}
バージョン 2.9 以降に適用されます
{% endhint %}

**値:** *true* (3.1 以降の既定値) または *false*

**説明:** これを *false*に設定すると、CA 証明書が OCSP 応答に署名します。こちらの方が簡単な方法です。

これを *true* に設定するか未設定の場合、SCEPman は動的に [Authorized Responder 証明書](https://datatracker.ietf.org/doc/html/rfc6960#section-4.2.2.2) を発行して OCSP 応答に署名します。この Authorized Responder は有効期間が短く（下記の AuthorizedResponderValidityHours を参照）、必要に応じて新しい証明書が自動的に発行されます。証明書とその秘密鍵はメモリ内のみに保持されるため、SCEPman 管理者が Authorized Responder 証明書を管理する必要はありません。これにより Key Vault への依存が減り、応答時間と可用性が向上します。また、次のことを回避する方法の 1 つです。 [Key Vault のスロットリング制限](https://learn.microsoft.com/en-us/azure/key-vault/general/service-limits) これは、そうでなければ大規模な SCEPman 導入（> 約 50,000 ユーザー）に影響する可能性があります。

## AppConfig:OCSP:AuthorizedResponderValidityHours

*Linux: AppConfig\_\_OCSP\_\_AuthorizedResponderValidityHours*

{% hint style="info" %}
バージョン 2.9 以降に適用されます
{% endhint %}

**値:** 浮動小数点値（*24.0* 既定値として）

**説明:** これは、UseAuthorizedResponder を *true*。この値は Authorized OCSP Responder 証明書の有効期限を決定します。既定では、発行の 1 日後に失効します。なお、設定 [AppConfig:ValidityClockSkewMinutes](/ja/scepman-gou-cheng/application-settings/certificates.md#appconfig-validityclockskewminutes)により、発行日はさかのぼって設定されるため、実際の有効期間は通常 2 日です（過去に 1 日、未来に 1 日）。

## AppConfig:OCSP:CacheTimeOutSecondsIfDeviceExists

*Linux: AppConfig\_\_OCSP\_\_CacheTimeOutSecondsIfDeviceExists*

**値:** 整数（*600* 既定値として）

**説明:** これは、有効な証明書に対する OCSP 応答の有効期間（秒）です。技術的には、 [OCSP Nonce](https://datatracker.ietf.org/doc/html/rfc6960#section-4.4.1) が使用されていない場合、たとえばプロキシや内部の SCEPman キャッシュによって、OCSP 応答は有効期間内に再利用できます。一部のシステム、たとえば Windows では、OCSP 応答はその有効期間中クライアント キャッシュに保存され、証明書の有効性を確認する際、キャッシュに有効な OCSP 応答がまだない場合にのみ、新しい OCSP 要求が送信されます。

したがって、この値は、証明書失効と、OCSP 応答をキャッシュしているシステムが実際に証明書を失効済みとして扱うまでの最大遅延を決定します。数値を小さくすると OCSP 要求の数が増え、その結果 SCEPman への負荷が高くなる可能性があります。

## AppConfig:OCSP:CacheTimeOutSecondsIfDeviceIsDisabled

*Linux: AppConfig\_\_OCSP\_\_CacheTimeOutSecondsIfDeviceIsDisabled*

**値:** 整数（*300* 既定値として）

**説明:** これは、無効化された証明書、つまり *保留中* 失効状態にある OCSP 応答の有効期間（秒）です。これらの証明書は失効していますが、再び有効になる可能性があります。例としては、Entra ID で無効化されたデバイスのデバイス証明書や、 [ユーザー リスク スコアが高いユーザーのユーザー証明書](/ja/scepman-gou-cheng/application-settings/scep-endpoints/intune-validation.md#appconfig-intunevalidation-userriskcheck).

この設定は、恒久的に失効した証明書には影響しません。それらの OCSP 応答は、失効状態がもはや変わらないため、長い有効期間を持ちます。

したがって、この値は、証明書の有効性を復元すること（たとえば、Entra ID でデバイスを有効化することによる）と、OCSP 応答をキャッシュしているシステムが失効を実質的に取り消すまでの最大遅延を決定します。


---

# 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/scepman-gou-cheng/application-settings/ocsp.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.
