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

# 一般設定

Jamf Pro を外部証明機関として SCEPman に接続します。

Jamf Pro を外部 CA として SCEPman に接続します。Jamf Pro は、登録済みのユーザーとデバイスからの SCEP リクエストを、SCEPman 専用の `/jamf` エンドポイントに転送します。

{% stepper %}
{% step %}

### Jamf エンドポイントを有効にする

次のアプリケーション設定を **SCEPman App Service**に設定します。Certificate Master には設定しないでください。

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

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

| 設定                                                                                                                                                                                                                       | 説明                                                                                                                                                                                                                     | 例                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| [AppConfig\_\_JamfValidation\_\_Enabled](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-enabled)                                          | SCEPman を Jamf と連携して使用しますか？                                                                                                                                                                                            | true                |
| [AppConfig\_\_JamfValidation\_\_RequestPassword](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-requestpassword)                          | <p>Jamf はこの安全なパスワードを使用して、SCEPman に証明書リクエストを送信する際に認証します。</p><p>この値を SCEPman の <a href="https://docs.scepman.com/ja/scepman-gou-cheng/application-settings.md#secure-configuration-in-azure-key-vault">KeyVault</a>.</p> | 最大 *32 文字のパスワード*    |
| [AppConfig\_\_JamfValidation\_\_ValidityPeriodDays](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-validityperioddays) （省略可能）             | Jamf 経由で発行される証明書の有効期間を、最大何日間にしますか？                                                                                                                                                                                     | 365                 |
| [AppConfig\_\_JamfValidation\_\_EnableCertificateStorage](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-enablecertificatestorage) （省略可能） | この設定を有効にすると、Jamf の証明書が Certificate Master に保存されます                                                                                                                                                                      | true または false（既定値） |
| {% endtab %}                                                                                                                                                                                                             |                                                                                                                                                                                                                        |                     |

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

| 設定                                                                                                                                                                                                                 | 説明                                                                                                                                                                                                                     | 例                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| [AppConfig:JamfValidation:Enabled](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-enabled)                                          | SCEPman を Jamf と連携して使用しますか？                                                                                                                                                                                            | true                |
| [AppConfig:JamfValidation:RequestPassword](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-requestpassword)                          | <p>Jamf はこの安全なパスワードを使用して、SCEPman に証明書リクエストを送信する際に認証します。</p><p>この値を SCEPman の <a href="https://docs.scepman.com/ja/scepman-gou-cheng/application-settings.md#secure-configuration-in-azure-key-vault">KeyVault</a>.</p> | 最大 *32 文字のパスワード*    |
| [AppConfig:JamfValidation:ValidityPeriodDays](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-validityperioddays) （省略可能）             | Jamf 経由で発行される証明書の有効期間を、最大何日間にしますか？                                                                                                                                                                                     | 365                 |
| [AppConfig:JamfValidation:EnableCertificateStorage](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-enablecertificatestorage) （省略可能） | この設定を有効にすると、Jamf の証明書が Certificate Master に保存されます                                                                                                                                                                      | true または false（既定値） |
| {% endtab %}                                                                                                                                                                                                       |                                                                                                                                                                                                                        |                     |
| {% endtabs %}                                                                                                                                                                                                      |                                                                                                                                                                                                                        |                     |
| {% endstep %}                                                                                                                                                                                                      |                                                                                                                                                                                                                        |                     |

{% step %}

### Jamf API 接続を構成する

SCEPman は Jamf API を使用して、登録済みクライアントの状態を確認します。これにより、Jamf オブジェクトが削除されたときに証明書を失効できます。

[API ロールと API クライアントの作成方法については、](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html) Jamf のドキュメントを参照してください。API クライアントには、次の権限を持つロールを割り当てる必要があります。

* モバイルデバイスの読み取り
* コンピュータの読み取り
* ユーザーの読み取り

次のアプリケーション設定を **SCEPman App Service**:

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

| 設定                                                                                                                                                                                        | 説明                                                                                                                                                                                                     | 例                                                                                                                                           |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [AppConfig\_\_JamfValidation\_\_URL](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-url)                   | Jamf インスタンスの URL                                                                                                                                                                                       | `https://contoso.jamfcloud.com`                                                                                                             |
| [AppConfig\_\_JamfValidation\_\_ClientID](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-clientid)         | Jamf API クライアントの識別子                                                                                                                                                                                    | 参照先： [Jamf ClientId](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html#ariaid-title3)      |
| [AppConfig\_\_JamfValidation\_\_ClientSecret](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-clientsecret) | <p>API クライアントの構成で使用する Client Secret の値。</p><p>この値を SCEPman の <a href="https://docs.scepman.com/ja/scepman-gou-cheng/application-settings.md#secure-configuration-in-azure-key-vault">KeyVault</a>.</p> | 参照先： [Jamf Client Secret](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html#ariaid-title4) |
| {% endtab %}                                                                                                                                                                              |                                                                                                                                                                                                        |                                                                                                                                             |

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

| 設定                                                                                                                                                                                  | 説明                                                                                                                                                                                                     | 例                                                                                                                                           |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [AppConfig:JamfValidation:URL](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-url)                   | Jamf インスタンスの URL                                                                                                                                                                                       | `https://contoso.jamfcloud.com`                                                                                                             |
| [AppConfig:JamfValidation:ClientID](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-clientid)         | Jamf API クライアントの識別子                                                                                                                                                                                    | 参照先： [Jamf ClientId](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html#ariaid-title3)      |
| [AppConfig:JamfValidation:ClientSecret](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-clientsecret) | <p>API クライアントの構成で使用する Client Secret の値。</p><p>この値を SCEPman の <a href="https://docs.scepman.com/ja/scepman-gou-cheng/application-settings.md#secure-configuration-in-azure-key-vault">KeyVault</a>.</p> | 参照先： [Jamf Client Secret](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html#ariaid-title4) |
| {% endtab %}                                                                                                                                                                        |                                                                                                                                                                                                        |                                                                                                                                             |
| {% endtabs %}                                                                                                                                                                       |                                                                                                                                                                                                        |                                                                                                                                             |

{% hint style="info" %}
以下を備えた API クライアントを使用します： `ClientID` および `ClientSecret`。互換性のあるデプロイでは、従来の API ユーザー名とパスワードの設定も引き続き使用できます。
{% endhint %}
{% endstep %}

{% step %}

### 外部 CA を接続する

Jamf Pro で、 **設定 → グローバル管理 → PKI 証明書**.

![](https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fgit-blob-ba2b5fe78590c9c592ef0d65cdf14fe238acda0a%2Fimage%20\(23\).png?alt=media)

を開きます **管理証明書テンプレート → 外部 CA** を開き、次を有効にします： **構成プロファイル用の SCEP プロキシ**.

![](https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fgit-blob-c9a89bf1790dfb161703eaf77a5afcb9b33bcd8b%2Fimage%20\(26\).png?alt=media)

以下のフィールドに入力してから、構成を保存します：

| フィールド         | 説明                                | 例／値                                                                                                                                                                                 |
| ------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **URL**       | SCEPman の URL。次の `/jamf` パスを含めます。 | <https://scepman.contoso.com/jamf>                                                                                                                                                  |
| **名前**        | インスタンス名                           | SCEPman Contoso                                                                                                                                                                     |
| **サブジェクト**    | X.500 標準に準拠するエンティティ               | O=Contoso                                                                                                                                                                           |
| **チャレンジの種類**  | 証明書発行を検証するためのチャレンジの種類             | 静的                                                                                                                                                                                  |
| **（検証）チャレンジ** | 事前共有シークレット（チャレンジ）                 | SCEPman の次の設定で定義： [AppConfig](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/scep-endpoints/jamf-validation.md#appconfig-jamfvalidation-requestpassword) パラメーター |
| キーサイズ         | キーのサイズ（ビット単位）                     | 2048                                                                                                                                                                                |
| デジタル署名として使用   |                                   | はい（必要な場合）                                                                                                                                                                           |
| キーの暗号化に使用     |                                   | はい（必要な場合）                                                                                                                                                                           |
| フィンガープリント     | SCEPman CA 証明書のサムプリント（SHA-1）      | SCEPman ダッシュボードの「CA Thumbprint」から確認できます                                                                                                                                             |

![](https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fgit-blob-706cea0b6e3d717ff4d599d924edd31a98ff407b%2F2021-10-21%2020_37_05-Edit%20PKI%20Certificates%20PKI%20Certificates_%20and%201%20more%20page%20-%20Work%20-%20Microsoft%E2%80%8B%20Edge.png?alt=media)
{% endstep %}

{% step %}

### 署名証明書とCA証明書をアップロードする

Jamfには署名証明書とSCEPman CA証明書が必要です。Jamfは署名証明書を使用してリクエストに署名します。SCEPmanは設定されたチャレンジパスワードを検証します。

{% tabs %}
{% tab title="OpenSSL" %}

```shellscript
openssl req -x509 -newkey rsa:4096 -keyout tempKey.key -out tempCert.pem -sha256 -days 3650 -nodes -subj "/CN=JAMF Signer Certificate for SCEPman"
openssl pkcs12 -export -out SigningCert.pfx -inkey ./tempKey.key -in ./tempCert.pem -passout pass:password
# 一時ファイルを削除
rm tempKey.key
rm tempCert.pem
```

{% endtab %}

{% tab title="PowerShell" %}

```powershell
$cert = New-SelfSignedCertificate -Subject "CN=JAMF Signer Certificate for SCEPman" -CertStoreLocation "Cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(10)
$pfxBytes = $cert.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Pfx, "password")
[System.IO.File]::WriteAllBytes("c:\temp\jamf.pfx", $pfxBytes)
```

{% endtab %}
{% endtabs %}

「 **署名証明書とCA証明書を変更** 」を選択します。Jamfの外部CA構成で設定します。

![](https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fgit-blob-4c7abd11c59ea4578210eff6b229c0b610bd5f08%2Fjamfsigningcertificate.png?alt=media)

ウィザードで、署名証明書のPFXファイルをアップロードします。パスワードを入力し、署名証明書を確認します。「 **CA証明書をアップロード**」で、SCEPman CA証明書をアップロードします。SCEPmanホームページの「 **CA証明書を取得** 」からダウンロードできます。変更内容を確認します。
{% 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/jamf/general.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.
