We are attempting a deploy to a dev environment which is a secure sf cluster, but are having issues with not being able to set the client certificate.
When setting up a SF Deploy step, we can enter in the server certificate thumbprint but the client certificates require you to select a variable.
Initially none were showing, after clicking + we added a variable called ‘DevCertThumbprint’ and set it’s value to ‘C975E0FE907C4847195C270B749…’ and it’s type to ‘Certificate’.
Back to the deploy step and click refresh will show the new variable ‘DevCertThumbprint’. Saving and creating a release will pick this up variable in the snapshot.
Now when clicking ‘Deploy to Dev’ an error appears ‘Could not find certificate with ID ‘870db0ca-35e5-b5dd-cd1d-d39…’, which is the value of variable ‘DevCertThumbprint’’. This is a guid and not the certificate value I entered into the variable.
I have made sure the certificate is installed on the machine, under both CurrentUser\My and CurrentUser\TrustedUsers and \LocalMachine\My