title: Accessing uploaded certificates in azure web sites
body: <p>When I was using the web role I was just uploading the certificate in azure portal and I was able to see it .Now I have switched to the website in azure and I uploaded the certificate in the azure management portal but my code  does not see it at all.</p>
  
  <p>Is there some configurations we need to do or some other way to access uploaded certs in azure web sites.</p>
  
  <p>This is how I am trying to access the uploaded cert .</p>
  
  <pre><code>private List&lt;string&gt; GetAvailableCertificatesFromStore()
  {
      var list = new List&lt;string&gt;();
      var store = new X509Store(StoreName.My,StoreLocation.LocalMachine);
      store.Open(OpenFlags.ReadOnly);
  
      try
      {
          foreach (var cert in store.Certificates)
          {
              // todo: add friendly name
              list.Add(string.Format("{0}", cert.Subject));
          }
      }
      finally
      {
          store.Close();
      }
  
      return list;
  }
  </code></pre>