title: How to install a pfx certificate to Azure so Worker Role can access a third-party Web Service?
body: <p>My Worker Role whose job it is to download data from a third party web service, requires accessing the service provider with a certificate. Having installed the pfx certificate to Personal Store on my development machine, I can easily HttpClient my way to utilising the service. </p>
  
  <p>So what is the equivalent of installing the pfx certificate in Azure for the published Worker Role?</p>
  
  <p>Please note that during testing, the certificate is self signed with no root CA so importing from disk via new X509Certificate instance will not work. </p>
  
  <p>Thanks</p>
  
  <pre><code>using (var client = new HttpClient())
  {
      var response =  client.GetAsync(new Uri("foo")).Result;
  ...
  }
  </code></pre>