Connecting to the Service Fabric party cluster

Since the Service Fabric party cluster uses certificate-based authentication, we need to download the PFX file in our working folder in /ProductServiceFabric.

Run the following commands:

openssl pkcs12 -in party-cluster-1496019028-client-cert.pfx -out party-cluster-1496019028-client-cert.pem -nodes -passin pass: 

Next, we make use of the Privacy Enhanced Mail (PEM) file to connect to the Service Fabric party cluster:

sfctl cluster select --endpoint https://zlnxyngsvzoe.westus.cloudapp.azure.com:19080 --pem ./party-cluster-1496019028-client-cert.pem --no-verify 

Once we are connected to the Service Fabric cluster, we need to install our application by running the following command:

./install.sh ...

Get Cloud-Native Applications in Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.