0
votes

All, I just configured SSL for my cloud service with self-signed certificate by following steps.

  1. create self-signed certificate using makecert.exe.
  2. import the certificate to the cloud service. and also import the certificate to local machine personal store.
  3. add certificate configuration for the web role in the visual studio 2010.
  4. publish the project to cloud services.

and It works fine. But when I tried to import RemoteAccess and RemoteForwarder modules to the configuration. and use the same certificate for the SSL and RemoteAccess.

the publish action will fail with the error: the remote desktop certificate with thumbprint xxxxx does not have a type of key exchange and can not be used for decryption.

When I remove the RemoteAccess. Everything will be fine.

Did anyone ever encounter this issue before ? I didn't know if it is allowed for the cloud service . I mean using the same certificate for the SSL and RemoteAccess. Thanks.

1

1 Answers

1
votes

I think the problem is you don't have key exchange property for your certificate, instead of using the same certificate for SSL and remote. Maybe you can add -sky exchange parameter for makecert.exe and try again.