# 標準ガイド

これにより、ベストプラクティスに基づいて、PoC または本番環境で SCEPman をセットアップするために必要なすべての手順を案内します。

## Azure デプロイ

まずは要件とリソースの概要から始めましょう。\
有用な Azure リソース設計を計画する必要があることを念頭に置いてください。

### 前提条件

#### 必須

* [ ] Azure サブスクリプション（少なくともそのサブスクリプションに対する Contributor 権限）。
* [ ] Azure の所有者権限（少なくとも Resource Group レベル）。
* [ ] Microsoft Entra ID (Azure AD) の「Global administrator」（Graph API へのアクセスに同意）。
* [ ] Azure ポリシーを必ず定義してください [SCEPman の要件に従って](/ja/sono/security-faq.md#azure-cis) （例: TLS を強制しない）。

#### 任意

* [ ] カスタム ドメインを使用する場合は、公開ドメイン CNAME（scepman.yourdomain.com）。
* [ ] SSL（ワイルドカード）証明書（または [App Service Managed Certificate](https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#create-a-free-certificate-preview)を使用）、カスタム ドメインを使用する場合。

### Azure リソースの概要

これらのリソースはすべて、本番環境で推奨されます。

さらに、Private Endpoint を使用する場合は、 [Azure リソースが 7 個増えます。](/ja/azure-gou-cheng/private-endpoints.md#azure-resources-used-for-private-endpoints)

## 構成手順

{% stepper %}
{% step %}

### SCEPman のベース サービスをデプロイ

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

デプロイを開始するには、次のデプロイ手順に従ってください:

{% content-ref url="/pages/80bb82ff9f9faa9dd9b2be4638bb61fd12ddca02" %}
[Marketplace デプロイ](/ja/scepman-depuroi/deployment-options/marketplace-deployment.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### デプロイ後の手順を実施する（権限の割り当て）

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

SCEPman のすべてのコンポーネントを適切に接続するため、いくつかの権限を割り当てる必要があります。関連する接続を確立するには、次の手順に従ってください:

{% content-ref url="/pages/c9baa8d4cb5c43880feb830c2ec1c10083883fa7" %}
[マネージド ID](/ja/scepman-depuroi/permissions/post-installation-config.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### Certificate Master の権限を追加

{% hint style="success" %}
これは **必須の** の手順は **Enterprise** **Edition** のお客様向けです。 **Community Edition** のユーザーはこの手順を省略できます。
{% endhint %}

Certificate Master は **Enterprise Edition** の機能で、管理者が証明書を手動で生成および失効できるようにします。Certificate Master へのアクセスを提供するには、次の手順に従ってください。

{% content-ref url="/pages/89fcf39f72fa6a350a1fcf569e8e1487783f9f0e" %}
[証明書マスター RBAC](/ja/scepman-gou-cheng/rbac.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### ルート証明書を作成

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

デプロイと権限の割り当てが完了したら、SCEPman のルート証明書を作成する必要があります:

{% content-ref url="/pages/0ebdf2507a832e59c0cf5125ffda7b54f6043866" %}
[ルート CA](/ja/scepman-depuroi/first-run-root-cert.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### カスタム ドメインと SSL 証明書を構成する

{% hint style="info" %}
これは **任意の** 手順です。
{% endhint %}

手順です。SCEPman を特定のドメインで利用できるようにするには、 **カスタム ドメイン** を **App Service に作成する必要があります。**

{% content-ref url="/pages/8eb47ea387d89933dddb8698281a8acb2f7a1af7" %}
[カスタム ドメイン](/ja/azure-gou-cheng/custom-domain.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### 手動更新

{% hint style="info" %}
これは **任意の** 手順です。
{% endhint %}

既定では、SCEPman は更新に対して [常時最新（evergreen）アプローチ](/ja/azure-gou-cheng/update-strategy.md#evergreen-approach) を採用しています。SCEPman の更新を完全に制御する必要がある場合は、次のガイドの「 **Deployment Slot Configuration**.

{% content-ref url="/pages/d11979f767e4900580bf70531c13b3211e25501f" %}
[更新戦略](/ja/azure-gou-cheng/update-strategy.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### Application Insights をデプロイ

{% hint style="success" %}
これは **推奨されます** 手順です。
{% endhint %}

Application Insights は、App Service のパフォーマンスの概要を把握したり、SCEPman の要求処理についてより深い知見を得たりするために使用できます。App Service を監視、維持、最適化するために、常に Application Insights を構成することを推奨します。

{% content-ref url="/pages/0bc9d2f9072f644c25e282f528206c8d1606d40c" %}
[Application Insights](/ja/azure-gou-cheng/application-insights.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### ヘルス チェックを構成

{% hint style="success" %}
これは **推奨されます** 手順です。
{% endhint %}

SCEPman の動作が停止した場合に直接通知を受け取れるよう、App Service にヘルス チェックを構成できます。

{% content-ref url="/pages/32ff1ed3cf0a5e6f9fe077cdd74cacb7a2488410" %}
[ヘルス チェック](/ja/azure-gou-cheng/health-check.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### SCEPman に十分なリソースがあることを確認

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

SCEPman を本番環境に移行したら、十分なコンピューティング パワーが備わっていることを確認する必要があります。そのため、Azure サイジング ガイドを確認し、必要に応じて App Service Plan のティアをアップグレードしてください。これは PoC または試用フェーズの後まで延期してもかまいません。

{% content-ref url="/pages/7653b5876336dbccf48b2ad0699905af5aad267b" %}
[App Service のサイズ設定](/ja/azure-gou-cheng/azure-sizing.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### MDM デプロイ プロファイルを構成

{% hint style="success" %}
これは **推奨されます** 手順です。
{% endhint %}

上記の手順が完了すると、SCEPman の実装は動作する状態になり、デバイスに証明書を展開できるようになります。

お好みの MDM ソリューションで証明書を展開するには、以下の記事のいずれか（または複数）をご利用ください:

{% content-ref url="/pages/d707fc5c0d1b5e571123c01e0b8435ced93eec79" %}
[Microsoft Intune](/ja/zheng-ming-shu-guan-li/microsoft-intune.md)
{% endcontent-ref %}

{% content-ref url="/pages/2776ebdbcac8bdd11e7e51f36b87d22571d17925" %}
[Jamf Pro](/ja/zheng-ming-shu-guan-li/jamf.md)
{% endcontent-ref %}

{% content-ref url="/pages/11b60abb2a67558c45dc098171dd45154598686c" %}
[その他の MDM ソリューション](/ja/zheng-ming-shu-guan-li/static-certificates.md)
{% endcontent-ref %}

{% endstep %}

{% step %}

### Certificate Master を使用して証明書を手動で発行する、または CSR に署名する

{% hint style="info" %}
これは **任意の** 手順です。
{% endhint %}

TLS サーバー証明書やその他の証明書の発行方法、または Certificate Master コンポーネントを使用して任意の CSR に署名する方法については、以下のリンクを参照してください。

{% content-ref url="/pages/13fdf762be2175fdd2546ac4ec8454a1421e7523" %}
[証明書マスター](/ja/zheng-ming-shu-guan-li/certificate-master.md)
{% endcontent-ref %}

{% endstep %}
{% endstepper %}


---

# 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/scepman-depuroi/deployment-guides/community-guide.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.
