Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:configuration_-_winrm [2024/01/30 06:45] erbenr |
tutorial:adm:configuration_-_winrm [2024/01/30 07:42] erbenr |
||
---|---|---|---|
Line 309: | Line 309: | ||
The tested way to generate self signed certificate on linux via tutorial which can be found [[https:// | The tested way to generate self signed certificate on linux via tutorial which can be found [[https:// | ||
- | Create and export self signed certificate with powershell: | ||
Now we have certificate which is imported in our windows server and now we can configure the HTTP listener | Now we have certificate which is imported in our windows server and now we can configure the HTTP listener | ||
+ | |||
+ | Create and export self signed certificate with powershell: | ||
<code powershell> | <code powershell> | ||
$pathToCertificate=" | $pathToCertificate=" | ||
Line 343: | Line 344: | ||
for deleting | for deleting | ||
winrm delete winrm/ | winrm delete winrm/ | ||
+ | </ | ||
+ | Create firewall rule for WinRM HTTPS: | ||
+ | <code powershell> | ||
+ | New-NetFirewallRule -Displayname 'WinRM - Powershell remoting HTTPS-In' | ||
</ | </ | ||
Restart WinRM | Restart WinRM | ||
- | |||
<code powershell> | <code powershell> | ||
Restart-Service winrm | Restart-Service winrm | ||
- | |||
</ | </ | ||