Skip to content

Instantly share code, notes, and snippets.

@stuartpreston
Last active December 21, 2015 06:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stuartpreston/1cb282a3267f883c1b37 to your computer and use it in GitHub Desktop.
Save stuartpreston/1cb282a3267f883c1b37 to your computer and use it in GitHub Desktop.
[MacOs] Retrieve certificate and store as .pfx from Microsoft Azure .publishsettings file
xpath downloaded.publishsettings "string(//PublishData/PublishProfile/Subscription[@Name='YOURSUBSCRIPTIONNAME']/@ManagementCertificate)" > mgmtcert.pfx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment