//First delete
aspnet_regiis -pz MyKeyName
//Create the container
aspnet_regiis -pc MyKeyName -exp
//Install the key into a machine-level RSA key provider
aspnet_regiis -pi MyKeyName pathToKeyFile
//Encrypt
aspnet_regiis -pef "connectionStrings" -prov pathToWebConfigFile
//So that's all good so far. If I want I can now decrypt which runs just fine on the same machine:
aspnet_regiis -pdf "connectionStrings"
이제 암호화 된 파일을 가져 와서 다른 컴퓨터로 가져 와서 동일한 키를 설치합니다. aspnet_regiis -px "MyKeyName" "C : \ MyKeyName을 사용하여 내 키를 내보냈습니다. xml "-pri).
이제 동일한 암호 해독 명령을 실행할 때 "암호 해독에 실패했습니다 ... 잘못된 데이터 ..."
무엇이 여기에 있습니까 ???
안녕하세요,이 해결책이 있습니까? 3 년이되었습니다. – Haminteu