Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Question from the Bouncy Castle development list:

At present we use the Windows certificate store as:

var store = new X509Store(StoreName.My, StoreLocation.LocalMachine);
store.Open(OpenFlags.OpenExistingOnly | OpenFlags.ReadOnly);
var certs = store.Certificates.Find(X509FindType.FindBySubjectName, subjectName,

We’d like to switch to something that’s more cross platform (esp Linux compatible). What are some good design patterns for a secure, cross platform certificate storage? We need to store RSA and EC certificates as well as their respective private keys (if they exist in the password protected PFX).

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.