title: What is a pfxblob
body: <p>I asked <a href="https://stackoverflow.com/questions/34727287/how-to-add-a-certificate-to-an-azure-rm-website-with-powershell">this</a> question the other day. </p>
  
  <p>Part of the solution required a <code>base64binary of the pfxblob</code> to put into the Azure Template, to pass to Azure via Powershell. </p>
  
  <p>I ultimately found I could get a pfxblob by running a different Azure command, the <a href="https://github.com/Azure/azure-powershell/blob/f803b991daa7eeeea1217238ab071c8d83de34be/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/AzureApplicationGatewaySslCertificateBase.cs" rel="nofollow noreferrer">source</a> of which contained a chunk of c# that did what I needed it to. </p>
  
  <p>Namely - </p>
  
  <pre><code>Convert.ToBase64String(cert.Export(X509ContentType.Pfx, Password));) 
  </code></pre>
  
  <p>I'm mostly able to pick that apart and vaguely get what it is doing, at least enough to fix my immediate problem at the time. But I never did work out what a pfxblob actually is. And on the run up finding that solution, I couldn't find anything that described what it was. </p>
  
  <p>So I thought one of you lot must... </p>