title: How do I create a self-signed certificate in a WinRT application?
body: <p>I'm trying to write a WinRT application which communicates with Windows Azure's management APIs. In order to do this, a certificate has to be uploaded which meets certain requirements and is then used by the application to authenticate requests.</p>
  
  <p>To make for a better user experience, I want to be able to generate the certificate for them and configure the application to use the certificate. Normally, I would reach for the <code>System.Security.Cryptography</code> namespace, but it would appear to be unavailable from the ".NET for Windows Store app" subset of the full framework.</p>
  
  <p>Any ideas how I could go about creating this self-signed certificate without calling out to an external service?</p>