title: Export Azure App Service Certificate as .pfx on Mac
body: <p>What is the easiest way to export an Azure App Service Certificate on Mac?
  All results seem to point to Powershell - I have attempted to install Powershell on Mac via PowerShell Core, though I have experienced a large amount of authentication issues, namely with the Connect-AzureRmAccount command:</p>
  
  <pre><code>Connect-AzureRmAccount : Object reference not set to an instance of an object.
  At line:1 char:1
  + Connect-AzureRmAccount
  + ~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : CloseError: (:) [Connect-AzureRmAccount], NullReferenceException
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand
  </code></pre>
  
  <p>Help would be appreciated. </p>