1

Thanks to Daniel Lang's blogpost we were able to encrypt our documents.

Since we are now in a multitenant situation(Multitenancy in RavenDb) and deployed ravendb within IIS 7.5 we want to encrypt all of the tenants.

Unfortunately we're getting a lot of errors (especially in the management studio):

The remote server returned an error: NotFound.

Our tenant databases are created, as we can see them on the file system. But within the management studio we cannot see them anymore.

To enable encryption we placed the encryption dll in the Plugins folder.

Do we need to make some extra configurations to get this to work?

Edit: steps for reproduce:

  1. Clean instance of ravendb configured, IIS 7.5
  2. Created an encryption dll, based on Daniel Lang's blog post
  3. Created a plugin folder and saved the encryption dll from step 2 in this folder
  4. Go to management studio and create some sample data for the default database
  5. Optional: create a tenant database and create some sample data
Community
  • 1
  • 1
Andrew
  • 5,395
  • 1
  • 27
  • 47
  • AndrewF, Unless you take special steps, any bundles in the Plugins directory will be used by all the tenants. Can you check the server log to see what the errors actually are? – Ayende Rahien Mar 04 '12 at 14:16
  • unfortunatly the error log give me not much more details: `03/05/2012 13:16:04: Error on request`. – Andrew Mar 05 '12 at 12:19
  • the real error is now showing itself: `Raven.Database.Server.HttpServer;Warn;Error on request;"System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.` – Andrew Mar 06 '12 at 14:56
  • Can you post that to the mailing list? We a way to reproduce this? It looks like you are trying to use a different key, or something changed the content. – Ayende Rahien Mar 08 '12 at 10:43

0 Answers0