---
schema_version: "1"
id: 9457902d34a6c70c6668256cf07e91728cd27a0855dddf8c176f4abb8ecdc6f7
title: Studio での Private Cloud Edition の設定 (Windows)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/studio/7.x/pce-configuration-windows.md
canonical_url: https://docs.mulesoft.com/jp/studio/7.x/pce-configuration-windows
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4accb5ff7d1d3a3681793ddee5da5bba93db5cd2c507fe78367ff6f5f7a329ca
description: MuleSoft Documentation Site
release: 7.x
latest: false
---
# Studio での Private Cloud Edition の設定 (Windows)

Anypoint Studio 7.12 では、PCE バージョン 3.0.0、3.0.1、3.0.2 とのネイティブ統合のみがサポートされます。

## [](#studio-への-pce-証明書を設定する)Studio への PCE 証明書を設定する

Studio インストールを PCE デプロイメントの Anypoint Platform コンポーネントを統合するには、次の手順を実行します。

1. ブラウザーを開き、PCE インスタンス URL に移動します。
2. ブラウザーに ​**\[Your connection is not private (この接続ではプライバシーが保護されません)\]**​ エラーが表示されます。
3. URL バーの ​**\[Not secure (安全でない)\]**​ セクションをクリックし、​**\[Certificate (証明書)\]**​ を選択します。
    
    ![ブラウザーで強調表示された \[Not secure (安全でない)\] セクションと \[Certificate (証明書)\] オプション。](_images/get-pce-certificate-windows.png)
4. **\[Certificate (証明書)\]**​ UI で、​**\[Details (詳細)\]**​ タブに移動して ​**\[Copy to File…​ (ファイルにコピー…​)\]**​ を選択します。
    
    ![\[Certificate (証明書)\] ウィンドウで強調表示された \[Details (詳細)\] タブと \[Copy to File (ファイルにコピー)\] ボタン。](_images/copy-certificate-windows.png)
5. **\[Certificate Export Wizard (証明書エクスポートウィザード)\]**​ で ​**\[Base-64 encoded X.509 (.CER) (Base-64 でエンコードされた X.509 (.CER))\]**​ を選択し、​**\[Next (次へ)\]**​ をクリックします。
    
    ![\[Certificate Export Wizard (証明書エクスポートウィザード)\] ウィンドウで強調表示された \[Base-64 encoded X.509 (.CER) (Base-64 でエンコードされた X.509 (.CER))\] オプションと \[Next (次へ)\] ボタン。](_images/base64-certificate-windows.png)
6. コンピューターの宛先フォルダーを選択し、​**\[Finish (完了)\]**​ をクリックします。
    
    ![\[Certificate Export Wizard (証明書エクスポートウィザード)\] ウィンドウで強調表示された宛先フォルダーと \[Next (次へ)\] ボタン。](_images/export-certificate-windows.png)
7. エクスポートした ​`.cer`​ ファイルに移動し、ダブルクリックして ​**\[Install Certificate…​ (証明書をインストール…​)\]**​ を選択します。
    
    ![\[Certificate (証明書)\] ウィンドウで強調表示された \[Install Certificate…​ (証明書をインストール…​)\] ボタン。](_images/install-certificate-studio.png)
8. **\[Certificate Import Wizard (証明書インポートウィザード)\]**​ で ​**\[Place all certificates in the following store (すべての証明書を次のストアに配置する)\]**​ を選択して​**「Trusted Root Certification Authorities (信頼されたルート証明機関)」**​と入力します。
    
    ![\[Certificate Export Wizard (証明書エクスポートウィザード)\] ウィンドウで強調表示された \[Place all certificates in the following store (すべての証明書を次のストアに配置する)\] オプションと \[Next (次へ)\] ボタン。](_images/trusted-root-certificate-windows.png)
9. **\[Next (次へ)\]**​ を選択し、​**\[Finish (完了)\]**​ をクリックします。
10. セキュリティ警告で証明書のインストールを確認するよう要求されたら ​**\[Yes (はい)\]**​ を選択します。
    
    ![\[Security Warning (セキュリティ警告)\] ウィンドウで強調表示された \[Yes (はい)\] ボタン。](_images/install-certificate-security-warning-windows.png)
11. `.cer`​ ファイル証明書を Studio の埋め込み Java cacerts キーストアに追加します。
    
    ```none
    bin\keytool -importcert ^
    -keystore [cacerts_path] ^ (1)
    -storepass [pass] ^ (2)
    -alias [alias] ^ (3)
    -file [certificate_name].cer (4)
    ```
    
    <table>
<tbody><tr>
<td><i class="conum" data-value="1"></i><b>1</b></td>
<td><code>cacerts_path</code>​ は Anypoint Studio アーティファクトです。<br>
次に例を示します。
<div class="ulist">
<ul>
<li>
<p>Java 11: <code>AnypointStudio\plugins\org.mule.tooling.jdk.win32.x86_64_1.1.5\lib\security\cacerts</code>​。</p>
</li>
<li>
<p>Java 8: <code>AnypointStudio\plugins\org.mule.tooling.jdk.v8.win32.x86_64_1.1.5\jre\lib\security\cacerts</code>​。</p>
</li>
</ul>
</div></td>
</tr>
<tr>
<td><i class="conum" data-value="2"></i><b>2</b></td>
<td><code>pass</code>​ は cacerts キーストアのパスワードです。<br>
Java のデフォルトの cacerts パスワードは ​<code>changeit</code>​ です。</td>
</tr>
<tr>
<td><i class="conum" data-value="3"></i><b>3</b></td>
<td><code>alias</code>​ はキーストアに保存するときに証明書に付ける名前です。</td>
</tr>
<tr>
<td><i class="conum" data-value="4"></i><b>4</b></td>
<td><code>certificate_name</code>​ は前のステップで生成して保存した .cer ファイルへのパスです。</td>
</tr>
</tbody></table>
12. Studio でプリファレンスビューを開きます。  
    **\[Window (ウィンドウ)\]**​ > ​**\[Preferences…​ (プリファレンス…​)\]**​ に移動します。
13. PCE インストールの URL を ​**\[Private Cloud Instance URL (Private Cloud インスタンス URL)\]**​ 項目に入力します。
    
    ![\[Preferences (プリファレンス)\] ウィンドウで強調表示された \[Private Cloud Instance URL (Private Cloud インスタンス URL)\] 項目。](_images/pce-properties.png)
14. **\[Apply and Close (適用して閉じる)\]**​ を選択します。
15. Studio を再起動します。

## [](#pce-ユーザーログインを設定する)PCE ユーザーログインを設定する

初めてユーザーのログインを設定するときに、Studio によって PCE 証明書を確認するよう要求されます。

1. プリファレンスビューを開きます。  
    **\[Anypoint Studio\]**​ > ​**\[Preferences…​ (プリファレンス…​)\]**​ に移動します。
2. 左のナビゲーションバーで ​**\[Anypoint Studio\]**​ を展開し、​**\[Authentication (認証)\]**​ > ​**\[Add (追加)\]**​ を選択します。
    
    ![\[Preferences (プリファレンス)\] ウィンドウで強調表示された \[Authentication (認証)\] タブと \[Add (追加)\] ボタン。](_images/preferences-authentication-add.png)
3. PCE 証明書を追加してサインインします。
4. **\[Apply and Close (適用して閉じる)\]**​ を選択します。