title: Generate X.509 certificate key pair and signing request (CSR) in C#
body: <p>How do you generate a X.509 public and private key pair and a signing request (CSR file) to be sent to a CA for signing in C#?</p>