Request a certificate from the certificate authority
Asked Answered
H

1

7

Phishing question.

I have a tcp server application that uses certificates for tls/ssl and stored in the pkcs#12 file. Assuming a CA is installed somewhere on the network and is accessible, would it be normal practice to request a ssl certificate from the CA (once), programmatically (C#) and write it out to the pkcs#12 file for use by the server.

Would that be normal practice, or would the more likely scenario be a case of buying the certificate from a CA like Thawte or Versign etc, specically for that customer, and creating the pkcs#12 file beforehand, and installing as part of installation process.

Homegrown answered 4/4, 2012 at 14:19 Comment(0)
K
4

I think this is a case where the argument can go either way.

Programmatic certificate requests and signing have their merits if you need to manage a large number of sites, at the loss of human-mediated validation if something goes horribly wrong (for example, if someone hijacks or listens in on your initial request). At some point, a trust decision needs to be made, either programmatically, or as a human operator.

This paper by Bruce Schneier goes into more detail, discussing potential risks to the CA architecture underpinning the trust decisions for PKI cryptography. I believe this covers many cases that are pertinent to your issue and your design that you may not have, and should, consider.

Kenwood answered 8/4, 2012 at 1:53 Comment(2)
MrGomez, thanks for the link, but I think I read that paper ages ago. An excellent paper, but i'm really looking for practical, cogent, current advice.Homegrown
@Homegrown Fair enough. Leaving out all of the platitudes associated with managing trust networks and establishing the trust chain all the way to the root of your PKI, this article and its associated links may offer guidance. Pathing down its link tree a bit, I noticed that the author's advice was to log a Technical Support case with Microsoft. That may be worth doing, just to get specific advice targeted to your problem. Good luck!Kenwood

© 2022 - 2024 — McMap. All rights reserved.