Skip to content

Instantly share code, notes, and snippets.

@jlucaspains
Created September 23, 2021 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlucaspains/d37b7b9dfd1e17c28c091f687449be8e to your computer and use it in GitHub Desktop.
Save jlucaspains/d37b7b9dfd1e17c28c091f687449be8e to your computer and use it in GitHub Desktop.
$guid = [guid]::NewGuid().ToString("B")
netsh http add sslcert hostnameport="$siteName.lpains.com:443" certhash=thumbprint certstorename=MY appid="$guid"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment