title: How do you convert a .CSR file to .DER format in .NET
body: <p>I have a CSR in PEM format that I need to convert to .DER. 
  Using OpenSSL, this is how I do it.</p>
  
  <p><em>openssl req -inform pem -outform der -in customer.csr -out customer.der</em></p>
  
  <p>Looking for .NET APIs or third party libraries that can do this?</p>
  
  <p>Update: This app is a Azure cloud service with multiple instances.</p>
  
  <p>Thx,
  Ash</p>