Hello Community/List, Apologies if I have or am already breaking any sort of rules and/or protocol here in reaching out to you here. It has been a VERY long time since I have used an email list so I am a little rusty. :)
I recently found out about your project via a blog post talking about how to create a certificate at runtime via your C# project (which I am also VERY happy is on NuGet!). Here is the link: http://www.wiktorzychla.com/2012/12/how-to-create-x509certificate2.html This code just happens to be preserved from another site (mentioned in the linked StackOverflow question) that has since been taken down. If this page did not exist, we would not be talking now (and time will tell if that is a good or bad thing! Ha ha). Anyways, my question is actually the same as the question asked within the comments of this blog post, and that is: is it possible to generate a certificate from a provided CA root certificate? I am learning about all of this, and I *mostly* have things working in the test environment, but at some point I will have to put the big boy pants on, and use a trusted certificate from an external source (from what I understand). Will I be able to use this approach with that certificate? Also, I am wondering how I can use an external key that is already on disk with this process. Up until this point, I have been using makecert (and it has been a challenge!!!), and it makes use of .pvk files. Is it possible to load these with BouncyCastle and use these instead of generating a keypair at runtime? (I am of course with the understanding that these are equivalent, which along with everything else I know, could be totally wrong). Thank you for any assistance/support/consideration! Michael