A PowerShell module to help generate the required self-signed certificates to set up a Point-To-Site VPN on Microsoft Azure.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
tests
.gitignore
LICENSE
README.md
azureVpnP2SSelfSignedCertificate.psd1
azureVpnP2SSelfSignedCertificate.psm1

README.md

Microsoft Azure - Point-To-Site VPN self-signed certificate helper

Build Status

Overview

A PowerShell module to help generate the required self-signed certificates to set up a Point-To-Site VPN on Microsoft Azure.

Azure Point-To-Site Certificate Documentation

Commands

  • New-AzureVPNRootCertificate
  • New-AzureVPNClientCertificate
  • Export-AzureVPNCertificate

Examples

  • New-AzureVPNRootCertificate
New-AzureVPNRootCertificate -subject 'azureVPN'
  • New-AzureVPNClientCertificate
New-AzureVPNClientCertificate -thumbprint 'sdfsd8udf' -subject 'azureVpnClient'

New-AzureVPNRootCertificate -subject 'azureVPN' | New-AzureVPNClientCertificate -subject 'azureVPNClient'

New-AzureVPNClientCertificate -thumbprint 'sdfsd8udf' -subject 'azureVpnClient' | Export-AzureVPNCertificate -path 'c:\exportPath' -pfx -password (ConvertTo-SecureString -String '1234' -Force -AsPlainText)
  • Export-AzureVPNCertificate
$password = ConvertTo-SecureString -String '1234' -Force -AsPlainText)
Export-AzureVPNCertificate -thumbPrint 'dsfdssds435353' -path 'c:\exportPath' -pfx -password $password -removeAfterExport

Export-AzureVPNCertificate -thumbPrint 'dsfdssds435353' -path 'c:\exportPath' -cer

Installation

The module is published to the PowerShell Gallery (https://www.powershellgallery.com/packages/azureVpnP2SSelfSignedCertificate).

Install-Module -Name azureVpnP2SSelfSignedCertificate

Versions

1.0.0.0

  • Initial release

Contributors