This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
juju-manual [2016/12/08 19:31] sgiulitti [Manually adding the Client certs on the target windows machine] |
juju-manual [2016/12/08 21:52] sgiulitti |
||
---|---|---|---|
Line 80: | Line 80: | ||
winrm quickconfig | winrm quickconfig | ||
# this will let us use the http listener with password auth | # this will let us use the http listener with password auth | ||
- | winrm set winrm/ | + | winrm set winrm/ |
+ | |||
+ | # make sure this settings are set like this. | ||
+ | winrm set winrm/ | ||
+ | winrm set winrm/ | ||
+ | winrm set winrm/ | ||
+ | winrm set winrm/ | ||
+ | winrm set winrm/ | ||
+ | winrm set winrm/ | ||
</ | </ | ||
Line 107: | Line 115: | ||
C: | C: | ||
Import-PfxCertificate -FilePath .\winrmcacert.pfx -CertStoreLocation Cert: | Import-PfxCertificate -FilePath .\winrmcacert.pfx -CertStoreLocation Cert: | ||
+ | ############################################################################################ | ||
+ | # THIS IS ONLY IF YOU WANT TO TEST THE CA VERIFICATION ON THE HOST WITH Enter-PSSession cmd | ||
Import-PfxCertificate -FilePath .\winrmcacert.pfx -CertStoreLocation Cert: | Import-PfxCertificate -FilePath .\winrmcacert.pfx -CertStoreLocation Cert: | ||
+ | ############################################################################################ | ||
winrm set winrm/ | winrm set winrm/ | ||
winrm set winrm/ | winrm set winrm/ | ||
Line 188: | Line 199: | ||
# Remove Client mapping (in case you want to remove it) | # Remove Client mapping (in case you want to remove it) | ||
- | # THIS WILL REMOVE ALL CLIENTCERTITIFACTES | + | # THIS WILL REMOVE ALL CLIENT CERTITIFACTES |
Remove-Item -Path WSMan: | Remove-Item -Path WSMan: | ||
</ | </ |