> 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/certificate-master/user-certificate.md).

# ユーザー証明書

{% hint style="warning" %}
SCEPman Enterprise Edition のみ
{% endhint %}

{% hint style="info" %}
この機能には 2.4 以上のバージョンが必要です
{% endhint %}

SCEPman Certificate Master Web UI を通じて、秘密鍵を含む X.509 ユーザー証明書を手動で生成できます。これらの証明書は、さまざまな証明書ベース認証（CBA）シナリオ、スマートカード、メール署名に使用できます。既定では、生成された証明書には EKU が **クライアント認証** および、値が UI で指定された UPN と一致する UPN 型プロパティに設定された Subject Alternative Name (SAN) が付きます。

### ユーザー証明書の発行

1. へ移動する **新しいユーザー証明書** SCEPman Certificate Master メニュー内の
2. 証明書の UPN を入力し、必要な EKU を選択します。
3. 押して **送信** すると、数秒後に証明書が発行されると、ブラウザーが秘密鍵を含む証明書を PKCS#12/PFX 形式で自動的にダウンロードします。PKCS#12 ファイルは、画面に表示されたパスワードで暗号化されています。パスワードを使用して、必要なシステムに PKCS#12 を直接インポートできます。

{% hint style="warning" %}
このページから移動すると、パスワードにはもうアクセスできなくなるので注意してください。
{% endhint %}

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FfNlpkOFKRoaOJXWCTAAG%2Fimage.png?alt=media&amp;token=e7a0a46d-a0bc-4cd4-a237-4dc088f5b966" alt=""><figcaption><p>Certificate Master - 新しいユーザー証明書</p></figcaption></figure>

## YubiKey

YubiKey デバイスにスマートカード証明書を登録するには、以下の手順を実行します。

### チェックリスト: 前提条件

* [ ] *必須* - Certificate Master へのアクセスと適切なロール（`Admin.Full` , `Request.All`,`Request.User`)
* [ ] *必須* - 空きスマートカード スロットのある YubiKey デバイスへのアクセス
* [ ] *必須* - YubiKey Manager がインストールされている

### 手順

1. Certificate Master の Web ポータルを開き、次の **+** アイコン
2. もう一度 **新しいユーザー証明書**
3. 次を指定します **UPN** 要件に応じて
4. 次を設定します **キー長** を **2048** ビット（YubiKey は現在 4096 ビット鍵をサポートしていません）。
5. もう一度 **PKCS#12** を **ダウンロードするファイル形式**
6. もう一度 **クライアント認証** および **スマートカード ログオン** 次から **拡張キー使用法**

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2F2DV0KKFUYhO0vtguLIjV%2Fimage.png?alt=media&amp;token=e53988a2-4cf0-497e-afc4-3a036509c2bb" alt=""><figcaption></figcaption></figure>

1. クリックする前に **送信**、一時的に次を控えておいてください **パスワード** 。証明書を YubiKey にインポートする際に必要になります。
2. YubiKey Manager を開きます
3. へ移動する **アプリケーション** **>** **PIV** をクリックし **証明書を構成する**

   <figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FkWxntxxG3C8RzLwHC0vW%2Fimage.png?alt=media&amp;token=b15a3e59-e989-4bd0-a000-80a080ce62db" alt=""><figcaption></figcaption></figure>
4. もう一度 **認証（スロット 9a）** をクリックし **インポート**
5. 以前 Certificate Master で生成した証明書をアップロードし、次を指定します **パスワード**.
6. 次を設定します **管理キー** をクリックし **OK**

   <figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FmqPYzFhQBzOLZzjdyriC%2Fimage.png?alt=media&amp;token=8ca60bb1-9d37-442d-8892-ac606d8f5a23" alt=""><figcaption></figcaption></figure>


---

# 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/certificate-master/user-certificate.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.
