aspnet regiis.exe - Importing RSA Keys from file using aspnet_regiis -
trying import file fails, saying exists:
c:\windows\system32>c:\windows\microsoft.net\framework\v4.0.30319\aspnet_regiis -pi "myrsakey" c:\key.xml microsoft (r) asp.net regiis version 4.0.30319.17929 administration utility install , uninstall asp.net on local machine. copyright (c) microsoft corporation. rights reserved. importing rsa keys file.. object exists. failed!
but deleting fails, saying not found:
c:\windows\system32>c:\windows\microsoft.net\framework\v4.0.30319\aspnet_regiis -pz "myrsakey" microsoft (r) asp.net regiis version 4.0.30319.17929 administration utility install , uninstall asp.net on local machine. copyright (c) microsoft corporation. rights reserved. deleting rsa key container... rsa key container not found. failed!
the problem turned out related permissions of "c:\users\all users\microsoft\crypto\rsa\machinekeys" folder.
making sure commands executed using user belongs administrator group on machine, , administrator group owner of folder, enabled commands execute successfully.
Comments
Post a Comment