Skip to content

Instantly share code, notes, and snippets.

View dcolebatch's full-sized avatar
👋
I may be slow to respond.

David Colebatch dcolebatch

👋
I may be slow to respond.
View GitHub Profile
@dcolebatch
dcolebatch / Enabling WinRM HTTPS Listener
Created February 9, 2018 00:47 — forked from pavank/Enabling WinRM HTTPS Listener
Enabling WinRM HTTPS Listener
1)Generate SSL Certificate with one of these options
-CA Authority(e.g:Versign)
-Active Directory Certificate Services
-Self Signed(Not to be used in Production)
Code : cd 'C:\Program Files (x86)\Windows Kits\8.0\bin\x64\'
makecert -r -pe -n "CN=3dmxvm-solar.cloudapp.net " -b 01/01/2012 -e 01/01/2022 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
2) Export Certificate in .pfx format to store into Trusted Root Store of Client Machine
3) Enable WinRm Trusted Source IP addresses