[Mono-list] Apache+mod_mono: Auto generated encryption keys not saved error
James Wright
james.wright at jigsawdezign.com
Tue Jan 24 14:20:01 UTC 2012
Hello,
I'm running Mono 2.10.2 with Apache 2 + mod_mono on an Amazon Linux
server and keep getting the following error in the apache error log:
(info) Auto generated encryption keys not saved:
System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey
rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename
unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey
rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey
rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey
(Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean
writable) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name,
Boolean writable) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey
(System.String path, Boolean write) [0x00000] in <filename unknown>:0
at System.Web.Configuration.MachineKeyRegistryStorage.Store
(System.Byte[] buf, KeyType kt) [0x00000] in <filename unknown>:0
It looks like some sort of permission problem accessing the registry
store, but I have no idea where that is on the filesystem or whether it
can (or should) be changed?
Thanks,
James
More information about the Mono-list
mailing list