Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
390 views
in Technique[技术] by (71.8m points)

winforms - RSA Key missing but aspnet_regiis.exe says it's already installed

I have a Windows Desktop app that expects an RSA key to be installed, if the key isn't installed it installs it itself. Sometimes the app can't install the key and we just go and install it manually through CMD with aspnet_regiis.exe -pi {key} {xml_path}

Now, I'm having an issue with one computer (out of dozens, all of which have been running the app for years/months) where the application can't install the key and, when trying to install it manually, aspnet_regiis says it's already installed, but when I go to C:ProgramDataMicrosoftCryptoRSAMachineKeys the key isn't there.

What am I missing here? Is there like a cache or something that aspnet_regiis is using to tell me it's installed? Is there a way to force the install?

question from:https://stackoverflow.com/questions/65927467/rsa-key-missing-but-aspnet-regiis-exe-says-its-already-installed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...