Point to Site VPN

Опубликовано: 03 Август 2026
на канале: Web Tech Diary
76
3

This video helps you to understand various Azure VPN Gateway Topology or connectivity options available and will have a demo to setup Azure Point-to-Site
VPN connectivity.

URLs:
https://portal.azure.com/
https://docs.microsoft.com/en-us/azur...
https://docs.microsoft.com/en-us/azur...

Powershell to create certificate for P2S VPN Setup
-----------------------------------------------------------------------------------
Root cert creation
$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature `
-Subject "CN=YOURRootCert" -KeyExportPolicy Exportable `
-HashAlgorithm sha256 -KeyLength 2048 `
-CertStoreLocation "Cert:\CurrentUser\My" -KeyUsageProperty Sign -KeyUsage CertSign

Client cert creation
New-SelfSignedCertificate -Type Custom -DnsName P2SChildCert -KeySpec Signature `
-Subject "CN=YOURP2SClientCert" -KeyExportPolicy Exportable `
-HashAlgorithm sha256 -KeyLength 2048 `
-CertStoreLocation "Cert:\CurrentUser\My" `
-Signer $cert -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.2")

-----------------------------------------------------------------------------------