openssl s_client -connect <dsm-name>:443 -showcerts
Configure Private Cloud Edition in Studio (macOS)
Anypoint Studio 7.4 and later support native integration with Anypoint Platform Private Cloud Edition (PCE) versions 1.6, 2.0, and 3.0.
Anypoint Studio 7.8 and later only support native integration with PCE version 3.0.0
Follow these steps to integrate your Studio installation with the Anypoint Platform components in a PCE deployment:
Extract your CA certificate using OpenSSL:
<dsm-name>is the domain name of your PCE instance.
Copy the resulting base-64 encoded certificate.
Save the string characters between the the
---BEGIN CERTIFICATE-----and the
-----END CERTIFICATE -----sections into a .pem file.
.pemfile certificate to your Studio embedded Java cacerts keystore:
sudo keytool -import -trustcacerts -keystore <cacerts_path> \ (1) -storepass <pass> \ (2) -alias <alias> \ (3) -import -file [certificate_name].pem (4)
cacerts_pathis your Anypoint Studio artifact.
passis your certificate’s password.
If you don’t provide a password for this certificate, the keytool generates the password
aliasis the name you give to your certificate
certificate nameis the path to the generated .pem file you saved in the previous step.
In Studio, open the preferences view.
Navigate to Anypoint Studio > Preferences… or press
cmd + ,.
Expand Anypoint Studio in the left navigation bar, and select Anypoint Platform.
Select the Use a Private Cloud Instance URL.
Type the URL of your PCE installation in the Private Cloud Instance URL field.
Click Apply and Close.
The first time you configure your user’s login, Studio asks you to confirm your PCE certificate:
Open the preferences view.
Either navigate to Anypoint Studio > Preferences… or press
cmd + ,.
Expand Anypoint Studio in the left navigation bar, select Authentication > Add.
Select Yes in the Invalid Certificate message that appears.
Add your PCE credentials and sign-in.
Select Apply and Close.
To avoid having to trust your certificate every time you login, add your certificate to your MacOS keystore:
On your computer, open your
In the left navigation bar, select System.
.pemfile that you generated in the previous task into the list of certificates.
Double-click your imported
.pemfile and select Always Trust from the When using this certificate drop-down menu.
If your Studio installation is running, restart it so that Studio uses your new system preferences.