How to set up new password for the cluster certificate to connect to Service Fabric Cluster in the VSTS Pipeline
This article helps you to set up new password for the cluster certificate which one can use in release pipeline to deploy your application to SF cluster.
Scenario : Adding the base-64 encoding of the client certificate file which is NOT PASSWORD protected when setting up the “New Service Fabric Connection” in the release pipeline will lead to deployment failure.
Below is the sample of the error:
“2020-10-15T20:58:45.3232533Z ##[debug]System.Management.Automation.RuntimeException: An error occurred attempting to import the certificate. Ensure that your service endpoint is configured properly with a correct certificate value and, if the certificate is password-protected, a valid password. Error message: Exception calling 'Import' with '3' argument(s): 'The specified network password is not correct.”
Steps to set new password for Cluster certificate:
Download the relevant cluster certificate from the Key vault to local machine.