x509certificate - Managing certificates with WCF -


we have central wcf service exposing via nettcpbinding duplex comms clients.

we want allow computers on internet communicate wcf service. route going down use x509 certificates secure transport layer , provide client authentication, this:

  <security mode="transport">     <transport clientcredentialtype="certificate"></transport>     <message clientcredentialtype="none"/>   </security> 

at moment we're calling "makecert" generate x509 certs, , having specify certificatevalidationmode="peertrust" round fact generated our own self-signed certificates.

my question how should go managing client certificates? don't want each client buy own certificate - there hundreds of them , isn't option. suppose want act our own "root authority", i'm not sure how go this...

if don't want make every client buy certificate trusted certificate provider verisign, other 2 options either generate self-signed certificates have been doing (should used testing) or create own pki (private key infrastructure).

i think creating own pki, in case, way go. others have said in comments:

  1. start setting machine certificate authority:

    • install active directory certificate services (server roles)
    • configure root ca
    • configure cryptography, name , validity ca
  2. then make clients request certificates ca.

  3. you aprove certificate ca point of view.

  4. client installs certificate.

  5. adjust wcf configuration make use of ca , certificates

hope helps.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -