Questions tagged [web-config-encryption]

6 questions
4
votes
1 answer

Why encrypting Web.config file works without supplying a keyContainerName?

So using the aspnet_regiis.exe util I have done the following //Create the container aspnet_regiis -pc MyRSAKey -exp //Write key to file aspnet_regiis -px MyRSAKey MyRSAKey.xml //Install the key into a machine-level RSA key provider. aspnet_regiis…
Bob
  • 4,236
  • 12
  • 45
  • 65
3
votes
2 answers

Encrypt and store password in web.config file

I have the following information in my web.config file. how do I encrypt it and store? how do I decrypt and use?
vml19
  • 3,816
  • 11
  • 45
  • 63
3
votes
1 answer

Encrypting application properties in Spring Boot

So I've done some Googling and read some of the documentation on Spring Cloud, but in an effort to truly punish myself, I'm seeking to understand just exactly how encrypting sensitive application properties with a "{cipher}" really works. For…
mljohns89
  • 887
  • 1
  • 11
  • 16
3
votes
0 answers

Encrypted config section plus BCL.Build

I'm trying to update LinqKit in an ASP.Net 4.0 Web Application which uses encrypted config sections to obfuscate the connectionstrings section. We also use config transforms.
1
vote
0 answers

RSA encrypted web config works in IIS express but not in Local IIS

I used RSA container key encryption for encrypting my appSettings in web.config. The encrypted web config works fine in Visual Studio when running in IIS Express. But when I change it to Local IIS in project properties(in VS 2015), I am getting the…
0
votes
1 answer

Web config encryption using DataProtectionConfigurationProvider is not working on Production

I have used DataProtectionConfigurationProvider to encrypt the connection strings of web config, which is working fine in local. But when I uploaded the code to production, the web config is not getting encrypted. I have used following…