Consider your Windows Azure role has a configuation like:
<Certificates>
<Certificate name="CertName" thumbprint="xxx" thumbprintAlgorithm="sha1" />
</Certificates>
When you try to deploy to cloud from Visual Studio by right clicking the Windows Azure project and selecting Publish, you might see a log like this:
5:20:37 PM - Preparing...
5:20:37 PM - Connecting...
5:20:38 PM - Error: Certificate: ‘CertName’ with Thumbprint: xxx for Role: RoleName has not been uploaded to the hosted service: ServiceName.
The reason for this error could be that the Certificate Thumbprint which is displayed on the Windows Azure Portal is in UpperCase and the one specified in your configuration is in LowerCase or vice versa.
The fix for this is to copy the Thumbprint from Windows Azure Portal and paste it in your configuration so that the case match at both places.
<Certificates>
<Certificate name="CertName" thumbprint="xxx" thumbprintAlgorithm="sha1" />
</Certificates>
When you try to deploy to cloud from Visual Studio by right clicking the Windows Azure project and selecting Publish, you might see a log like this:
5:20:37 PM - Preparing...
5:20:37 PM - Connecting...
5:20:38 PM - Error: Certificate: ‘CertName’ with Thumbprint: xxx for Role: RoleName has not been uploaded to the hosted service: ServiceName.
The reason for this error could be that the Certificate Thumbprint which is displayed on the Windows Azure Portal is in UpperCase and the one specified in your configuration is in LowerCase or vice versa.
The fix for this is to copy the Thumbprint from Windows Azure Portal and paste it in your configuration so that the case match at both places.
it works. thx
ReplyDeleteOther possibility: the certificate you uploaded has the same name as an existing certificate. (For example, you chose the default name on a cert, then reused it, again keeping the default name, when uploading a 2nd project. In this case, simply rename the cert inside the config window for the Azure project.)
ReplyDeleteOr different certificates are used for both Local and Cloud configuration within Azure. Seems not supported within VS2010 with Azure tools 1.7.
ReplyDelete