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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…