Skip to content

Instantly share code, notes, and snippets.

@jennings
Last active December 6, 2017 23:44
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 jennings/10331399 to your computer and use it in GitHub Desktop.
Save jennings/10331399 to your computer and use it in GitHub Desktop.

Set a URL ACL for the current user to listen on a specific port

netsh http add urlacl url=http://+:44444/  user=DOMAIN\username

netsh http add urlacl url=https://localhost:44300/           user=DOMAIN\username
netsh http add urlacl url=https://hostname:44300/            user=DOMAIN\username
netsh http add urlacl url=https://hostname.domain.ext:44300/ user=DOMAIN\username

View current URL ACLs

netsh http show urlacl

View mappings from IP:port to certificates:

netsh http show sslcert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment