All, I just configured SSL for my cloud service with self-signed certificate by following steps.
- create self-signed certificate using
makecert.exe
. - import the certificate to the cloud service. and also import the certificate to local machine personal store.
- add certificate configuration for the web role in the visual studio 2010.
- 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.