Contact Us 1-800-596-4880

Configuring Anypoint Studio for Anypoint Platform PCE

Anypoint Studio 7.19 and later adds support for Anypoint Platform Private Cloud Edition (Anypoint Platform PCE) version 4.0.0.

Configure Your PCE Certificates into Studio

Integrate your Studio installation with the Anypoint Platform components in an Anypoint Platform PCE deployment.

Determine the Java Version and Location

  1. In Studio, go to Anypoint Studio > Settings.

  2. Select Java > Installed JRES.

  3. Check the location of the JRE you use: Java 8 or Java 17.

JRE location in Anypoint Studio

Export the Certificate Using the Platform DNS

Run the following command by replacing <ANYPOINT_DNS> with your actual server URL:

keytool -printcert -sslserver <ANYPOINT_DNS>:443 -rfc > /tmp/PCE_Certificate.cer

For example:

keytool -printcert -sslserver $ANYPOINT_DNS:443 -rfc > /tmp/PCE_Certificate.cer

Import the Certificate

Run the following command by replacing <JAVA_HOME> with the path to your embedded Java in Studio:

sudo keytool -import -trustcacerts -keystore <JAVA_HOME>/lib/security/cacerts -storepass changeit -file /tmp/PCE_Certificate.cer

For example, if you’re using the embedded Java 17:

sudo keytool -import -trustcacerts -keystore /Applications/AnypointStudio.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.macosx.x86_64_1.3.0/Contents/Home/jre/lib/security/cacerts -storepass changeit -file /tmp/PCE_Certificate.cer`

Set a Private Cloud Instance URL

  1. In Studio, go to Anypoint Studio > Settings.

  2. Select Anypoint Studio > Anypoint Platform.

    Anypoint Studio highlighted in the navigation bar.
  3. Select the Use a Private Cloud Instance URL.

  4. Type the URL of your PCE installation in Private Cloud Instance URL.

    *Private Cloud Instance URL* field highlighted in the in the *PCE Settings* section.
  5. Click Apply and Close.

  6. Restart Studio.

Configure your PCE User Login

The first time you configure your user’s login, Studio asks you to confirm your PCE certificate:

  1. Open the preferences view.
    Either navigate to Anypoint Studio > Preferences…​ or press cmd + ,.

  2. Expand Anypoint Studio in the left navigation bar, select Authentication > Add.

    *Authentication* option and *Add* button highlighted in the *Preference* window.
  3. Select Yes in the Invalid Certificate message that appears.

    *Yes* button highlighted in the *Invalid Certificate* message window.
  4. Add your PCE credentials and sign-in.

  5. Select Apply and Close.

  6. Restart Studio.