We are having trouble deploying to Service Fabric using the “Deploy a Service Fabric app” step template. We get the following error:
15:47:43 Verbose | Loading connection parameters for the ‘Client Certificate’ security mode.
15:47:43 Info | Attempt 1 of 5 failed: Failed to find a value for the client certificate.
15:47:43 Info | Waiting for 5 seconds before retrying…
15:47:48 Info | Retrying…
15:47:48 Verbose | Loading connection parameters for the ‘Client Certificate’ security mode.
15:47:48 Info | Attempt 2 of 5 failed: Failed to find a value for the client certificate.
15:47:48 Info | Waiting for 5 seconds before retrying…
15:47:53 Info | Retrying…
15:47:53 Verbose | Loading connection parameters for the ‘Client Certificate’ security mode.
15:47:53 Info | Attempt 3 of 5 failed: Failed to find a value for the client certificate.
15:47:53 Info | Waiting for 5 seconds before retrying…
15:47:58 Info | Retrying…
15:47:58 Verbose | Loading connection parameters for the ‘Client Certificate’ security mode.
15:47:58 Info | Attempt 4 of 5 failed: Failed to find a value for the client certificate.
15:47:58 Info | Waiting for 5 seconds before retrying…
15:48:03 Info | Retrying…
15:48:03 Verbose | Loading connection parameters for the ‘Client Certificate’ security mode.
15:48:03 Error | # Prepare a dictionary of connection parameters that we’ll use to connect
15:48:03 Error | below.
15:48:03 Error | $ClusterConnectionParameters = @{}
15:48:03 Error | $ClusterConnectionParameters[“ConnectionEndpoint”] =
15:48:03 Error | $OctopusFabricConnectionEndpoint
15:48:03 Error | If ($OctopusFabricSecurityMode -eq “SecureClientCertificate”) {
15:48:03 Error | # Secure client certificate
15:48:03 Error | Write-Verbose “Loading connection parameters for the ‘Client
15:48:03 Error | Certificate’ security mode.”
15:48:03 Error | $validationMsg = ValidationMessageForClientCertificateParameters
15:48:03 Error | if ($validationMsg) {
15:48:03 Error | Write-Error $validationMsg
15:48:03 Error | Exit
15:48:03 Error | }
The certificate has been uploaded to Octopus Deploy under Library / Certificates.
A variable set “SF cluster” with the certificates as variables has been created.
The variable has been set in the deploy step.
The cert has been installed on the Octopus server.
We’re missing something but can’t find it. Help please!