[Mono-list] Protected configuration in Mono

Pedro Sobota pedro at sobota.net
Wed Jan 10 14:33:58 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi,

Is Protected Configuration already supported in Mono?

I tried to encrypt my web.config, and got a
System.Runtime.Remoting.RemotingException: Tcp transport error. This
is the code:

Configuration configuration =
WebConfigurationManager.OpenWebConfiguration(@"/");
configuration.ConnectionStrings.SectionInformation.ProtectSection("RsaProtectedConfigurationProvider");
configuration.ConnectionStrings.SectionInformation.UnprotectSection();
configuration.Save(ConfigurationSaveMode.Full);

Where will Mono look for the RSA key containers? In MS.NET
aspnet_regiis is used to create these keys, is there an equivalent
tool in Mono?

Thanks,

Pedro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFpT+m2HBdJ6AqYxARAktxAKCrasmWkRdEdQ7ZRgRYFhA1yaVz+gCg5zuA
fLYl0H2lzk66VWT+JaQ3gLQ=
=OeuH
-----END PGP SIGNATURE-----



More information about the Mono-list mailing list