RSA 제공자를 사용하여 web.config를 암호화하기 위해 다음을 수행했습니다.asp.net web.config 암호화 - RSA 키 컨테이너를 찾을 수 없습니다.
웹 서버에 RDP를 설치하고 내 계정으로 VS 명령 프롬프트를 열었습니다.
사용자 지정 RSA 암호화 키 생성 :
aspnet_regiis -pc "MyKey" -exp
암호화 사용자 지정 RSA 키를 사용하여 connectionStrings 섹션 :
aspnet_regiis.exe -pef "connectionStrings" "D:\Web\" -prov "MyRsaProvider"
내가 Web.config의 암호화 된 것을 볼 수 있습니다. 내가 다음에 다음 명령어를 하나씩 시도하고 테스트
"....The RSA key container was not found."
:
aspnet_regiis -pa "MyKey" "domain\appPool_serviceAccount"
aspnet_regiis -pa "MyKey" "ASPNET"
aspnet_regiis -pa MyKey" IIS APPPOOL\CRSAppPool" -full
aspnet_regiis -pa "MyKey" "NT Authority\Network Service"
을, 나는이 오류가 계속 얻을 :
을 나는 웹 페이지를로드 할 때 그러나 아래에서 오류가 발생합니다"....The RSA key container was not found."
프레임 워크 버그인지 여부에 관계없이 도움이 될만한 사람이 있습니까?
그 명령은 –