Last active
April 12, 2018 19:49
-
-
Save garfbradaz/260a82ec1f364beab891674e84d5cc45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOTO EndComment | |
This batch file will install a pre-made RSA machine key file onto a machine. | |
Things to note: | |
MyCustomKeys is an container I have specified and you can specfify whatever you want hen you create & export the keys. | |
The applicaton is presuming that .NET 4 is installed. For other versions please see my post: | |
https://mywebanecdotes.com/2016/09/17/encrypting-credentials-in-app-config-for-multiple-machines/ | |
:EndComment | |
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -pi MyCustomKeys keys.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment