Create Computer Certificate for Azure Authentication using PowerShell

I needed to create a self-signed computer certificate to use for authentication between my Windows Server 2012 Server and Windows Azure. I wanted to use it in a class so it had to be easy and repeatable so I turned to PowerShell...

 
 
 
 
 
(0)
924 times
Add to favorites
8/26/2016
E-mail Twitter del.icio.us Digg Facebook
  • feedback: small changes to make script more compattible..
    1 Posts | Last post December 28, 2015
    • i've made a couple small changes to make script more compattible.
      
      for path to wite cerificate i use this:
      $USERNAME = "$env:username"
      
      so now i can use:
      $certfilepath = "C:\Users\$USERNAME\Downloads\"
      
      and also for filename:
      $certfilename = $USERNAME + "_" 
      
      
      André