Difference between revisions of "Azure/VPN"

From SETV Springfield Technical Wiki
Jump to: navigation, search
(Created page with "Step-by-set on how to set up VPNs in Azure == Point-to-Site == For roaming and individual users, connect a machine to the Vnet using a certificated VPN Profile. === Create S...")
 
m
Line 12: Line 12:
 
   -CertStoreLocation "Cert:\CurrentUser\My" -KeyUsageProperty Sign -KeyUsage CertSign
 
   -CertStoreLocation "Cert:\CurrentUser\My" -KeyUsageProperty Sign -KeyUsage CertSign
  
[[Category:Platinum Healthcare IT]]
+
# Export the Key run certmgr.msc
 +
# Navigate to 'Certificates - Current User\Personal\Certificates', and right-click. Click All Tasks, and then click Export.
 +
 +
[[Category:Platinum Healthcare IT]]

Revision as of 07:37, 12 March 2017

Step-by-set on how to set up VPNs in Azure

Point-to-Site

For roaming and individual users, connect a machine to the Vnet using a certificated VPN Profile.

Create Self-Signed Root Certificate

You need to use PowerShell to create the certificates.

  1. Run PowerShell as Admin
  2. Run this command clanging "P25RootCert" to a a static name
   $cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature `
   -Subject "CN=P2SRootCert" -KeyExportPolicy Exportable `  -HashAlgorithm sha256 -KeyLength 2048 `
  -CertStoreLocation "Cert:\CurrentUser\My" -KeyUsageProperty Sign -KeyUsage CertSign
  1. Export the Key run certmgr.msc
  2. Navigate to 'Certificates - Current User\Personal\Certificates', and right-click. Click All Tasks, and then click Export.