<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article SIA - Configuring WinRM Secure for SIA Target Systems in Secure Infrastructure Access</title>
    <link>https://live.paloaltonetworks.com/t5/secure-infrastructure-access/sia-configuring-winrm-secure-for-sia-target-systems/ta-p/1427936</link>
    <description>&lt;P&gt;Configuring WinRM Secure for SIA Target Systems&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P&gt;Command:&amp;nbsp; &lt;EM&gt;winrm quickconfig -transport:https&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This command configures Windows Remote Management (WinRM) to use an HTTPS listener on port 5986 instead of the default HTTP listener on port 5985.&amp;nbsp; The actions taken are as follows:&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Starts the WinRM service and sets it to Automatic startup.&lt;/LI&gt;&lt;LI&gt;Searches for a valid X.509 server certificate in the Local Machine’s Personal store (Cert:\LocalMachine\My) that:
&lt;OL&gt;&lt;LI&gt;Has Server Authentication Enhanced Key Usage (EKU, OID: 1.3.6.1.5.5.7.3.1).&lt;/LI&gt;&lt;LI&gt;Matches the server’s hostname/FQDN in the Common Name (CN) or Subject Alternative Name (SAN).&lt;/LI&gt;&lt;LI&gt;Includes a private key.&lt;/LI&gt;&lt;LI&gt;Creates an HTTPS listener bound to the certificate if found.&lt;/LI&gt;&lt;LI&gt;Configures firewall rules to allow inbound traffic on port 5986.&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Limitations&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Fails if no valid certificate is found.&lt;/LI&gt;&lt;LI&gt;May select an unintended certificate if multiple certificates are present.&lt;/LI&gt;&lt;LI&gt;May not work consistently on older Windows versions or with misconfigured certificates.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Checking the Certificate&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Command:&amp;nbsp; &lt;EM&gt;winrm enumerate winrm/config/listener&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This command lists all configured WinRM listeners, including transport (HTTP/HTTPS) and certificate details (e.g., CertificateThumbprint).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vmD.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99303i4F970190458B406D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vmD.png" alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vmD.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Steps to Verify Certificate&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Copy the CertificateThumbprint from the command output.&lt;/LI&gt;&lt;LI&gt;Open certlm.msc (Local Computer certificate store).&lt;/LI&gt;&lt;LI&gt;Right-click “Certificate - Local Computer,” select “Find Certificate.”&lt;/LI&gt;&lt;LI&gt;Paste the thumbprint and use SHA1 Hash to locate the certificate.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5IMi.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99301i1718F138107BB7A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5IMi.png" alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5IMi.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Certificate Requirements&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Must include Server Authentication Enhanced Key Usage (EKU, OID: 1.3.6.1.5.5.7.3.1).&lt;/LI&gt;&lt;LI&gt;Common Name (CN) or Subject Alternative Name (SAN) must match the hostname or FQDN of the target system running the WinRM service.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Changing to a Different Certificate&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Get the New Thumbprint
&lt;OL&gt;&lt;LI&gt;Retrieve the thumbprint of the new certificate using PowerShell:
&lt;OL&gt;&lt;LI&gt;$newThumbprint = (Get-ChildItem Cert:\LocalMachine\My | Where-Object { $_.Subject -like "*server.example.com*" }).Thumbprint&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Alternatively, find it in certlm.msc (&lt;EM&gt;Local Machine &amp;gt; Personal &amp;gt; Certificates &amp;gt; Details &amp;gt; Thumbprint&lt;/EM&gt;).&lt;/LI&gt;&lt;LI&gt;Verify the certificate has a private key (in certlm.msc, check for “You have a private key” in the certificate properties).&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Remove the Old HTTPS Listener
&lt;OL&gt;&lt;LI&gt;Delete the existing HTTPS listener:
&lt;OL&gt;&lt;LI&gt;winrm delete winrm/config/Listener?Address=*+Transport=HTTPS&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Configure the New HTTPS Listener
&lt;OL&gt;&lt;LI&gt;Create a new HTTPS listener with the new certificate:
&lt;OL&gt;&lt;LI&gt;PowerShell
&lt;OL&gt;&lt;LI&gt;winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname=$hostname;CertificateThumbprint=$newThumbprint}
&lt;OL&gt;&lt;LI&gt;$hostname = "server.example.com"&lt;/LI&gt;&lt;LI&gt;$newThumbprint = "NEW_CERT_THUMBPRINT" # Replace with actual thumbprint&lt;/LI&gt;&lt;LI&gt;Replace “server.example.com” with the server’s FQDN (matching the new certificate’s CN/SAN).&lt;/LI&gt;&lt;LI&gt;Replace NEW_CERT_THUMBPRINT with the new thumbprint (no spaces).&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Verify the New Listener
&lt;OL&gt;&lt;LI&gt;Test the configuration:
&lt;OL&gt;&lt;LI&gt;Test-WSMan -ComputerName server.example.com -UseSSL -Authentication Default&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Successful Output: Returns an object with:&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vkb.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99302iD56D03BE279304B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vkb.png" alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vkb.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;What does this mean?&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;wsmid: Confirms the WS-Management identity schema, indicating the WinRM service is responding.&lt;/LI&gt;&lt;LI&gt;ProtocolVersion: Shows the WS-Management protocol version supported.&lt;/LI&gt;&lt;LI&gt;ProductVendor: Identifies Microsoft as the vendor (since WinRM is a Microsoft service).&lt;/LI&gt;&lt;LI&gt;ProductVersion: Indicates the Windows OS version and WinRM stack version (e.g., 10.0.17763 corresponds to Windows Server 2019).&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 08 Jul 2025 20:32:44 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-07-08T20:32:44Z</dc:date>
    <item>
      <title>SIA - Configuring WinRM Secure for SIA Target Systems</title>
      <link>https://live.paloaltonetworks.com/t5/secure-infrastructure-access/sia-configuring-winrm-secure-for-sia-target-systems/ta-p/1427936</link>
      <description>&lt;P&gt;Configuring WinRM Secure for SIA Target Systems&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P&gt;Command:&amp;nbsp; &lt;EM&gt;winrm quickconfig -transport:https&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This command configures Windows Remote Management (WinRM) to use an HTTPS listener on port 5986 instead of the default HTTP listener on port 5985.&amp;nbsp; The actions taken are as follows:&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Starts the WinRM service and sets it to Automatic startup.&lt;/LI&gt;&lt;LI&gt;Searches for a valid X.509 server certificate in the Local Machine’s Personal store (Cert:\LocalMachine\My) that:
&lt;OL&gt;&lt;LI&gt;Has Server Authentication Enhanced Key Usage (EKU, OID: 1.3.6.1.5.5.7.3.1).&lt;/LI&gt;&lt;LI&gt;Matches the server’s hostname/FQDN in the Common Name (CN) or Subject Alternative Name (SAN).&lt;/LI&gt;&lt;LI&gt;Includes a private key.&lt;/LI&gt;&lt;LI&gt;Creates an HTTPS listener bound to the certificate if found.&lt;/LI&gt;&lt;LI&gt;Configures firewall rules to allow inbound traffic on port 5986.&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Limitations&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Fails if no valid certificate is found.&lt;/LI&gt;&lt;LI&gt;May select an unintended certificate if multiple certificates are present.&lt;/LI&gt;&lt;LI&gt;May not work consistently on older Windows versions or with misconfigured certificates.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Checking the Certificate&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Command:&amp;nbsp; &lt;EM&gt;winrm enumerate winrm/config/listener&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This command lists all configured WinRM listeners, including transport (HTTP/HTTPS) and certificate details (e.g., CertificateThumbprint).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vmD.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99303i4F970190458B406D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vmD.png" alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vmD.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Steps to Verify Certificate&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Copy the CertificateThumbprint from the command output.&lt;/LI&gt;&lt;LI&gt;Open certlm.msc (Local Computer certificate store).&lt;/LI&gt;&lt;LI&gt;Right-click “Certificate - Local Computer,” select “Find Certificate.”&lt;/LI&gt;&lt;LI&gt;Paste the thumbprint and use SHA1 Hash to locate the certificate.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5IMi.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99301i1718F138107BB7A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5IMi.png" alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5IMi.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Certificate Requirements&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Must include Server Authentication Enhanced Key Usage (EKU, OID: 1.3.6.1.5.5.7.3.1).&lt;/LI&gt;&lt;LI&gt;Common Name (CN) or Subject Alternative Name (SAN) must match the hostname or FQDN of the target system running the WinRM service.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Changing to a Different Certificate&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Get the New Thumbprint
&lt;OL&gt;&lt;LI&gt;Retrieve the thumbprint of the new certificate using PowerShell:
&lt;OL&gt;&lt;LI&gt;$newThumbprint = (Get-ChildItem Cert:\LocalMachine\My | Where-Object { $_.Subject -like "*server.example.com*" }).Thumbprint&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Alternatively, find it in certlm.msc (&lt;EM&gt;Local Machine &amp;gt; Personal &amp;gt; Certificates &amp;gt; Details &amp;gt; Thumbprint&lt;/EM&gt;).&lt;/LI&gt;&lt;LI&gt;Verify the certificate has a private key (in certlm.msc, check for “You have a private key” in the certificate properties).&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Remove the Old HTTPS Listener
&lt;OL&gt;&lt;LI&gt;Delete the existing HTTPS listener:
&lt;OL&gt;&lt;LI&gt;winrm delete winrm/config/Listener?Address=*+Transport=HTTPS&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Configure the New HTTPS Listener
&lt;OL&gt;&lt;LI&gt;Create a new HTTPS listener with the new certificate:
&lt;OL&gt;&lt;LI&gt;PowerShell
&lt;OL&gt;&lt;LI&gt;winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname=$hostname;CertificateThumbprint=$newThumbprint}
&lt;OL&gt;&lt;LI&gt;$hostname = "server.example.com"&lt;/LI&gt;&lt;LI&gt;$newThumbprint = "NEW_CERT_THUMBPRINT" # Replace with actual thumbprint&lt;/LI&gt;&lt;LI&gt;Replace “server.example.com” with the server’s FQDN (matching the new certificate’s CN/SAN).&lt;/LI&gt;&lt;LI&gt;Replace NEW_CERT_THUMBPRINT with the new thumbprint (no spaces).&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Verify the New Listener
&lt;OL&gt;&lt;LI&gt;Test the configuration:
&lt;OL&gt;&lt;LI&gt;Test-WSMan -ComputerName server.example.com -UseSSL -Authentication Default&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Successful Output: Returns an object with:&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vkb.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99302iD56D03BE279304B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vkb.png" alt="ka3Vy0000075l3tIAA__eid=ka3Vy0000075l3t&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000O5vkb.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;What does this mean?&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;wsmid: Confirms the WS-Management identity schema, indicating the WinRM service is responding.&lt;/LI&gt;&lt;LI&gt;ProtocolVersion: Shows the WS-Management protocol version supported.&lt;/LI&gt;&lt;LI&gt;ProductVendor: Identifies Microsoft as the vendor (since WinRM is a Microsoft service).&lt;/LI&gt;&lt;LI&gt;ProductVersion: Indicates the Windows OS version and WinRM stack version (e.g., 10.0.17763 corresponds to Windows Server 2019).&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 08 Jul 2025 20:32:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secure-infrastructure-access/sia-configuring-winrm-secure-for-sia-target-systems/ta-p/1427936</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-07-08T20:32:44Z</dc:date>
    </item>
  </channel>
</rss>

