VMware Horizon Community
JoeCool97
Contributor
Contributor

Migrate view composer database with RSA keys marked as no exportable

Hello,

I'm running Horizon View 6.2.2 with linked clones machines. and I'm trying to migrate view composer service on another server.

When I try to export the rsa key with the command "aspnet_regiis -px "SviKeyContainer" "keys.xml" -pri" it does not work : "Key not valid for use in specified state. Failed!"

I think this is because on an old migration the key was not imported with the "-exp" option to mark it as exportable.

I have tried to migrate composer without the RSA key in my lab : it seems to be working at first but in fact no, all composer task failed with an error.

How can I migrate my composer without exporting this RSA Key ? I already try to open an SR at vmware but no solution was found at this time.

Thanks

0 Kudos
1 Reply
rogal7
Enthusiast
Enthusiast

Looks like the source of the problem is that private key was not marked as exportable. Are you able to re-import this cert with exp flag and then try exporting it?

0 Kudos