Skip to content

Instantly share code, notes, and snippets.

@henno
Created May 2, 2017 18:23
Show Gist options
  • Save henno/e399cec2571ca35effceab1a14b0fba7 to your computer and use it in GitHub Desktop.
Save henno/e399cec2571ca35effceab1a14b0fba7 to your computer and use it in GitHub Desktop.
SSTP VPN certificate renewal
  1. Export new (renewed) Let's Encrypt certificate from \Certificates (Local Computer)\Web Hosting\Certificates to a file
  2. Import the certificate from file to \Certificates (Local Computer)\Personal
  3. Execute C:\> netsh http show sslcert and copy the certificate hash of the binding that uses a certificate from WebHosting store
  4. Execute C:\>Netsh ras set sstp-ssl-cert hash=xxxxxxxxxxxxxxx
  5. Restart RRAS service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment