Project Work Hours
Sat & Sun 6am - 9am
Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

This article covers using my custom script to configuring WinRM HTTPS on an Azure Nano Server. The script (NanoWinRM-KeyVaultCert-Deployment.ps1) uses the Azure Key Vault to create a certificate and use that certificate to configure WinRM HTTPS on the Nano Server. Note using this option you might accrue some Key Vault services charges. Requirements for running script are;

  1. Azure Global Admin Account
  2. Windows PowerShell 4.0+
  3. Azure PowerShell 3.0+

2016-11-27-08_13_43-configure-winrm-https-on-nano-with-key-vault-certificate

Video:

 

Please always review content of scripts before running. Steps in script;

  1. Login to Azure and Select subscription
  2. Get Virtual Machine information
  3. Creates Key Vault and generate certificate within Key Vault
  4. Upload Certificate to Virtual Machine
  5. Using Custom Script Extension to deploy WinRMHTTPS-FC-Set.ps1, which configures WinRM HTTPS using certificate uploaded to machine
  6. Cleaning up configuration not needed after configuration

From time to time I update scripts to make them more effective, so see file history in GitHub.

This script can be found on GitHub, link below;

Azure-V2-Powershell-Scripts/NanoWinRM-KeyVaultCert-Deployment.ps1

2C Series

http://hazelnest.com/blog/blog/tag/2C/