> 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/static-certificates/kandji-1.md).

# Iru (旧 Kandji)

SCEPmanを外部CAとして接続し、Iruで証明書を発行します。

SCEPman は、 [Iru](https://www.iru.com/) にチャレンジパスワードを使用する外部 CA として接続でき、登録済みデバイスが証明書を取得できるようになります。

他の MDM ソリューションと SCEPman の統合に関する一般的な情報については、 [こちら](https://docs.scepman.com/ja/zheng-ming-shu-guan-li/static-certificates.md).

{% stepper %}
{% step %}

### Iru 統合を有効にする

SCEPman App Service で次の環境変数を設定すると、SCEPman との統合を簡単に有効にできます。

{% hint style="success" %}
Iru Entra 同期が有効な場合は、 [静的 AAD 検証](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md)を使用します。証明書を Entra オブジェクトに紐付け、オブジェクトが無効化または削除されたときに自動的に失効できるようにします。

Entra 同期を利用できない場合に限り、Static validation を使用してください。選択したエンドポイントを [その他の MDM ソリューション](https://docs.scepman.com/ja/zheng-ming-shu-guan-li/static-certificates.md#choose-an-endpoint).
{% endhint %}

{% hint style="info" %}
SCEPman App Service と Certificate Master は、App Service 名に **含まれていない** 「-cm」の有無で見分けることができます。
{% endhint %}

<details>

<summary>Static-AAD の検証</summary>

Iru Entra 同期が有効な場合は、これらの設定を使用してください。

App Service のオペレーティング システムに応じた設定名を使用してください。

{% tabs %}
{% tab title="Linux" %}
Linux App Service では、コロンの代わりに二重アンダースコア（`__`）を使用します。

| 設定                                                                                                                                                                                                                                      | 説明                                                  | 値                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ----------------------------------- |
| [AppConfig\_\_StaticAADValidation\_\_Enabled](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-enabled)                                          | Entra にバインドされた検証を有効にする                              | **true** 有効にする場合、 **false** 無効にする場合 |
| [AppConfig\_\_StaticAADValidation\_\_RequestPassword](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-requestpassword)                          | 証明書リクエストを認証します。このシークレットは Azure Key Vault に保存してください。 | 32 文字のパスワードを生成                      |
| [AppConfig\_\_StaticAADValidation\_\_ValidityPeriodDays](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-validityperioddays) （省略可能）             | 証明書の有効期間（日数）                                        | 365                                 |
| [AppConfig\_\_StaticAADValidation\_\_EnableCertificateStorage](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-enablecertificatestorage) （省略可能） | 発行済み証明書を保存し、自動失効を有効にする                              | **true**                            |
| {% endtab %}                                                                                                                                                                                                                            |                                                     |                                     |

{% tab title="Windows" %}
Windows App Service では、設定名にコロン（`:`）を使用します。

| 設定                                                                                                                                                                                                                                | 説明                                                  | 値                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ----------------------------------- |
| [AppConfig:StaticAADValidation:Enabled](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-enabled)                                          | Entra にバインドされた検証を有効にする                              | **true** 有効にする場合、 **false** 無効にする場合 |
| [AppConfig:StaticAADValidation:RequestPassword](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-requestpassword)                          | 証明書リクエストを認証します。このシークレットは Azure Key Vault に保存してください。 | 32 文字のパスワードを生成                      |
| [AppConfig:StaticAADValidation:ValidityPeriodDays](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-validityperioddays) （省略可能）             | 証明書の有効期間（日数）                                        | 365                                 |
| [AppConfig:StaticAADValidation:EnableCertificateStorage](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-enablecertificatestorage) （省略可能） | 発行済み証明書を保存し、自動失効を有効にする                              | **true**                            |
| {% endtab %}                                                                                                                                                                                                                      |                                                     |                                     |
| {% endtabs %}                                                                                                                                                                                                                     |                                                     |                                     |

</details>

<details>

<summary>Static の検証</summary>

Iru Entra 同期を利用できない場合は、これらの設定を使用してください。

App Service のオペレーティングシステムに応じた設定名を使用してください。

{% tabs %}
{% tab title="Linux" %}
Linux App Service では、コロンの代わりに二重アンダースコア（`__`）を使用します。

|                                                                                                              設定                                                                                                              | 説明                                                                                                                                                                                                                                           |                    値                    |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------: |
|                     [AppConfig\_\_StaticValidation\_\_Enabled](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-enabled)                    | サードパーティの検証を有効にする                                                                                                                                                                                                                             | ***true*** 有効にする場合、 ***false*** 無効にする場合 |
|             [AppConfig\_\_StaticValidation\_\_RequestPassword](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-requestpassword)            | <p>署名のために SCEPman に送信される証明書署名要求は、この安全な静的パスワードで認証されます。<br><br><strong>推奨事項</strong>：このシークレットは <a href="https://docs.scepman.com/ja/scepman-gou-cheng/application-settings.md#secure-configuration-in-azure-key-vault">Azure KeyVault</a>.</p> |       *に保存し、32 文字のパスワードを生成してください。*      |
|       [AppConfig\_\_StaticValidation\_\_ValidityPeriodDays](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-validityperioddays) （任意）       | Iru 経由で発行された証明書の有効日数                                                                                                                                                                                                                         |                   365                   |
| [AppConfig\_\_StaticValidation\_\_EnableCertificateStorage](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-enablecertificatestorage) （任意） | 要求された証明書を Storage Account に保存し、SCEPman Certificate Master に表示できるようにします。                                                                                                                                                                      | ***true*** 有効にする場合、 ***false** 無効にする場合* |
|                                                                                                         {% endtab %}                                                                                                         |                                                                                                                                                                                                                                              |                                         |

{% tab title="Windows" %}
Windows App Service では、設定名にコロン（`:`）を使用します。

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

</details>

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

{% step %}

### SCEPman のルート証明書を展開する

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

![SCEPman の Web サイト](https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fgit-blob-9170eb0435726398eb43f6fac8abd0d5f35e8cc4%2FSCEPmanHomePage%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(1\)%20\(2\)%20\(1\)%20\(2\).png?alt=media)

Iru で、 **Library** を左側のナビゲーションバーから開き、 **Certificate Library Item** を Blueprint に追加します。

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FfToUgpoUeZOiYNe2xkzi%2F2023-03-09%2012_51_21-Window.png?alt=media&amp;token=df6f66fb-369b-4adf-ab9d-70757354f2f7" alt=""><figcaption><p>証明書ペイロードを構成する</p></figcaption></figure>

証明書をアップロードするには、まず **PKCS #1 形式の証明書** を **Certificate type**で選択し、必要に応じて名前を入力して SCEPman CA 証明書をアップロードし、最後に保存します。

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FL8NyfsJR7x2v0j6ybS6g%2F2023-03-09%2014_21_12-KandjiSCEPmanRootCA.png?alt=media&amp;token=a70ff955-bbe2-4b49-9cf4-245964838675" alt=""><figcaption><p>SCEPmanルートCA証明書の追加</p></figcaption></figure>
{% endstep %}

{% step %}

### SCEPプロファイルの作成

2つ目の手順では、 **SCEPプロファイル** を **Blueprint**に追加します。そのため、新しい **SCEPライブラリアイテム** を追加し、以下のように設定します。

* **URL**：選択した検証方法に対応するSCEPエンドポイントを使用します。Static-AAD検証の場合は `/static/aad` を、Static検証の場合は `/static` を使用します。
* **名前：** 省略可能なSAN属性
* **チャレンジ**：CSR要求を認証するために必要です。次の項目に設定されているリクエストパスワードと一致している必要があります。 [静的 AAD 検証](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/staticaad-validation.md#appconfig-staticaadvalidation-requestpassword) または [静的検証](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/static-validation.md#appconfig-staticvalidation-requestpassword).
* **フィンガープリント：** 省略可能なCAフィンガープリントです。セキュリティをさらに強化できるため、この値を設定することを強くお勧めします。SCEPmanのWebサイトで次の項目として確認できます。 **CAサムプリント**.
* **サブジェクト：** 省略可能なサブジェクト名です。 **CN=$PROFILE\_UUID** は、デフォルトの共通名としてIruから自動的に追加されます。Iruでは複数のCNを追加できます。

{% hint style="info" %}
Static-AAD検証では、証明書のサブジェクトにEntraデバイスIDを含めるか、SANにユーザーのUPNを含める必要があります。
{% endhint %}

{% hint style="warning" %}
CNを2つ以上追加すると、ネットワーク認証の際にmacOSおよびiOSがクライアント証明書を自動選択できないことがあります。
{% endhint %}

* **キーサイズ：** 2048
* **キーの用途：** 署名と暗号化の両方

詳しくは、以下をご確認ください。 [Iruのドキュメント](https://support.kandji.io/support/solutions/articles/72000559782-scep-profile).

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FS84P4c40cLu5H5NCeley%2F2023-03-09%2014_43_19-Kandji.png?alt=media&amp;token=45fdf5b6-6a31-4879-ba87-a7070e76e0c5" alt=""><figcaption><p>SCEPプロファイルの追加</p></figcaption></figure>

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FhnTLPcfOXlMpBNOh5Nph%2F2023-03-09%2014_50_23-Kandji.png?alt=media&amp;token=1ed96cb6-861a-4cb7-8511-22e1b0b48763" alt=""><figcaption><p>SCEPプロファイルの設定</p></figcaption></figure>

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FbZiDYnqsvxgh8a36zPl3%2F2023-03-09%2014_51_22-Kandji.png?alt=media&amp;token=d2e681dd-f50d-4043-a85a-46bd7396d810" alt=""><figcaption><p>SCEPプロファイルの設定</p></figcaption></figure>

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FuiSTD2BxR4utzJ0YACZS%2F2023-03-09%2014_52_52-Kandji.png?alt=media&amp;token=84aa9c64-7b38-4829-b337-cdde8549ab98" alt=""><figcaption><p>SCEPプロファイルの設定</p></figcaption></figure>
{% endstep %}

{% step %}

### デプロイ状況の確認

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

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FjchSJJzjqEDQxfX8K40s%2F2023-03-09%2015_12_40-Kandji.png?alt=media&amp;token=5b316771-d526-45cc-8ee5-dba4d751e39f" alt=""><figcaption><p>デプロイ状況</p></figcaption></figure>
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
