Monday, June 17, 2013

Error when uploading package to Windows Azure

When trying to upload a package to Windows Azure, it failed with the following error message:

  • The certificate with thumbprint {guid} was not found.


This was on a machine where I never deployed the Azure package before. So the reason was easy to figure out:

I had enabled "Enable Remote Desktop for all roles".  This added the following line to my ServiceConfiguration.Cloud.cscfg and ServiceConfiguration.Local.cscfg:

     <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="C1D8FB16365D7CD3B918849346FAAD2F9BA43AE6" thumbprintAlgorithm="sha1" />

But on this system I didn’t had the remote certificate installed locally. So you have 2 options to solve this:

  • Replace the Remote Desktop certificate with a new one
  • Copy the Remote Desktop certificate from another machine over to the current machine

No comments: