> 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/addigy.md).

# Addigy

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

SCEPmanは、 [Addigy](https://addigy.com/) と外部認証局（CA）として統合できます。チャレンジパスワードを設定すると、登録済みデバイスは証明書を要求して取得できます。

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

{% stepper %}
{% step %}

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

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

{% hint style="success" %}
Addigy 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>

Addigy 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>

Addigy 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) （任意）       | Addigy経由で発行された証明書の有効期間（日数）                                                                                                                                                                                                                   |                   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) （任意）       | Addigy経由で発行された証明書の有効期間（日数）                                                                                                                                                                                                                   |                   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サイトからRootCA証明書をダウンロードします。

![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)

次に、Addigyにアップロードできるよう、.cer形式のルート証明書をPEM形式に変換します。変換には、以下のOpenSSLコマンドを使用できます。

```
openssl x509 -inform der -in scepman-root.cer -out SCEPman-Root-Certificate.pem
```

Addigyで **「プロファイル」** に移動して新しいMDMプロファイルを作成し、プロファイルの種類として **「証明書 - (PKCS12)」** を選択して、SCEPman RootCAのPEM形式ファイルをアップロードします。

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FRAcvBOaWt0V089lb96aP%2Fimage.png?alt=media&amp;token=187ce30f-6f6f-4ae0-9b97-cb21713b585b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

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

次に、デバイス証明書を展開するための新しい **SCEPプロファイル** を以下のように作成します。

* **ペイロード名：** プロファイルの名前を指定します。この名前は、クライアント上で証明書プロファイルとして表示されます。
* **URL**：選択した検証方法に対応するSCEPエンドポイントを使用します。Static-AAD検証には `/static/aad` を、Static検証には `/static` を使用します。URLはSCEPmanのホームページからコピーできます。

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FZHNTUBLUO3y3BHH0R37X%2Fimage.png?alt=media&amp;token=a4b0d735-167d-41ea-aa32-2c445325a42b" alt=""><figcaption></figcaption></figure>

* **チャレンジ**：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).

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

* 「 **SCEPリクエストをプロキシする** 」オプションを有効にします。
* 「署名と暗号化」を選択する項目： **キー使用法**
* 残りの項目は、以下のスクリーンショットのように入力します。

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FIRC4uYWrileRNfteYpIV%2Fimage.png?alt=media&amp;token=4b0f0c81-2c16-4b69-9143-5aed25a87477" 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%2FpKRdVeJYOPm1TUd6c2AY%2Fimage.png?alt=media&amp;token=3b474821-967f-4b6e-968e-812a66d9edde" alt=""><figcaption></figcaption></figure>

ルートCAとデバイス証明書の両方のプロファイルを作成したら、それらをポリシーに適用して、割り当てられたデバイスに設定を展開します。

詳細については、 [Addigyのドキュメントを参照してください。](https://support.addigy.com/hc/en-us/articles/4403542430739-Deploying-Certificates)
{% 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/addigy.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.
