Deploying the application into the Service Fabric cluster that we created earlier can easily be done from Eclipse directly. To deploy the application, observe the following steps:
- First, the certificate that we downloaded when we created the Service Fabric cluster in the Azure portal needs to be installed on your local machine.
- Now, convert the certificate into PEM format by executing the following command:
openssl pkcs12 -in your-cert.pfx -out your-cert.pem -nodes -passin pass:your-password
- Open the Cloud.json file in Eclipse under the PublishProfiles directory and configure the endpoint and credentials as follows:
- ConnectionIPOrURL: "[your hostname]"
- ConnectionPort: "19080"
- ClientKey: "[path to your PEM file]" ...