Publish in Azure from Jenkins with a Bad Request caused by Certificate

Luis MSL 0 Reputation points
2024-02-27T10:58:26.0033333+00:00

Hi all, We are trying to publish to Azure Cloud Service (classic) from Jenkins but we are getting a Bad Request error:

Set-AzureDeployment : BadRequest : Certificate with thumbprint [...] associated 
with HTTPS input endpoint Endpoint2 does not contain private key.

But the certificate contains a private key. User's image

The certificate was previously uploaded to Azure through Azure Portal and it's active. Are we missing any step?
Thank you in advance

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,802 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.