# Kandji

SCEPman は次に接続できます [Kandji](https://www.kandji.io/) SCEPman の静的インターフェースを介して外部 CA として接続でき、チャレンジパスワードを持つ登録済みデバイスは証明書を取得できます。

他の MDM ソリューションおよび SCEPman 連携に関する一般的な情報については、次をご確認ください [こちら](/ja/zheng-ming-shu-guan-li/static-certificates.md).

## Kandji 連携を有効にする

SCEPman の連携は、SCEPman App Service 上の以下の環境変数で簡単に有効化できます。

{% hint style="info" %}
App Service の名前に **「-cm」なしの** が含まれているかどうかで、SCEPman App Service と Certificate Master を区別できます
{% endhint %}

|                                                                                               設定                                                                                               | 説明                                                                                                                                                                                                               |                 値                 |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------: |
|                     [AppConfig:StaticValidation:Enabled](/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-enabled)                    | サードパーティ検証を有効化                                                                                                                                                                                                    | ***true*** で有効化、 ***false*** で無効化 |
|             [AppConfig:StaticValidation:RequestPassword](/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-requestpassword)            | <p>署名のために SCEPman に送信される証明書署名要求は、この安全な静的パスワードで認証されます<br><br><strong>推奨</strong>: この秘密を <a href="/pages/133e9cb84e56c5cc3ac0cff5eac5341191a43f14#secure-configuration-in-azure-key-vault">Azure KeyVault</a>.</p> |    *に保管し、32 文字のパスワードを生成してください*    |
|       [AppConfig:StaticValidation:ValidityPeriodDays](/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-validityperioddays) （任意）       | Kandji 経由で発行された証明書の有効日数                                                                                                                                                                                          |                365                |
| [AppConfig:StaticValidation:EnableCertificateStorage](/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-enablecertificatestorage) （任意） | 要求された証明書を Storage Account に保存し、SCEPman Certificate Master に表示できるようにする                                                                                                                                            | ***true*** で有効化、 ***false** で無効化* |

{% hint style="warning" %}
SCEPman の構成パラメーターを追加または編集した後は、App Service を再起動する必要があります。
{% endhint %}

## Kandji 構成

### SCEPman Root Certificate

最初の手順として、SCEPman のルート証明書を展開する必要があります。この CA 証明書は、SCEPman の Web サイトからダウンロードします。

![SCEPman Web サイト](/files/344eb387228d4d05887e8793281b10fff5e2e48d)

Kandji で、左側のナビゲーションバーの **Library** に移動し、 **Certificate Library Item** を Blueprint に追加します。

<figure><img src="/files/c4897da009c4c391968a6bd4f9a453c264a69e7b" alt=""><figcaption><p>証明書ペイロードを構成する</p></figcaption></figure>

証明書をアップロードするには、まず **PKCS #1 形式の証明書** の下の **証明書の種類**を選択し、次に任意の名前を指定して SCEPman の CA 証明書をアップロードし、最後に保存します。

<figure><img src="/files/fed4e71c8e30b2a1de20a3be9203774068abfa54" alt=""><figcaption><p>SCEPman ルート CA 証明書の追加</p></figcaption></figure>

### SCEP プロファイル

2 つ目の手順は、 **SCEP プロファイル** を **Blueprint**に追加することです。したがって、新しい **SCEP Library Item** を追加し、以下のように構成します。

* **URL**: 設定した SCEPman の静的 SCEP エンドポイント [上記](#enable-kandji-integration)
* **名前:** 任意の SAN 属性
* **チャレンジ**: SCEPman の静的 SCEP インターフェースに送信される CSR リクエストを認証するために必要です。これは、あなたが設定した [値](/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-requestpassword) と一致している必要があります [上記](#enable-kandji-integration).
* **フィンガープリント:** 任意の CA フィンガープリント。この値を構成することを強く推奨します。追加のセキュリティレベルが提供されるためです。SCEPman の Web サイトで次のように確認できます **CA Thumbprint**.
* **サブジェクト:** 任意のサブジェクト名。 **CN=$PROFILE\_UUID** は、Kandji から既定の共通名として自動的に追加されます。Kandji では複数の CN を追加できます。

{% hint style="warning" %}
macOS と iOS で、2 つを超える CN が追加されている場合に、ネットワーク認証用のクライアント証明書を自動選択する際に問題が発生したケースを確認しています。
{% endhint %}

* **キーサイズ:** 2048
* **キーの使用法:** 署名と暗号化の両方

詳細については、次をご確認ください [Kandji のドキュメント](https://support.kandji.io/support/solutions/articles/72000559782-scep-profile).

<figure><img src="/files/ef2b279018ac74e925fd806b5e15de28770b0a3e" alt=""><figcaption><p>SCEP プロファイルの追加</p></figcaption></figure>

<figure><img src="/files/914e22a3f9c5098c5f967fd9eb28c9157226a399" alt=""><figcaption><p>SCEP プロファイルの構成</p></figcaption></figure>

<figure><img src="/files/cbfc8c34f876bfb6cc2b81f9d022f9dd481d12b3" alt=""><figcaption><p>SCEP プロファイルの構成</p></figcaption></figure>

<figure><img src="/files/8150069382945c3a189cd976f97109e43a27d0fb" alt=""><figcaption><p>SCEP プロファイルの構成</p></figcaption></figure>

### 展開ステータス

証明書または SCEP プロファイルを保存した後、 **Status** に切り替えて、 **Blueprints** に割り当てられたデバイスでの展開ステータスを確認します。

<figure><img src="/files/cef0e335523368f61e2ebd4caaea8cba83f8047f" alt=""><figcaption><p>展開ステータス</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.scepman.com/ja/zheng-ming-shu-guan-li/static-certificates/kandji-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
