<?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 How to Web Based Connection Component - Auto Logon HTTPS without web forms in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-to-web-based-connection-component-auto-logon-https-without/ta-p/1429481</link>
    <description>Many websites hosted from various servers, and devices use Basic Authentication method, making web forms unusable for web based connection components. In order to create a connection component you may have to invoke the web browser and URL address with credentials embedded into the url. This document displays the symptoms of a non web form based web site, the reasons for the issue and the steps necessary to create a working connection component. Since all web servers are different this may not satisfy every situation but has proven successful on the majority of the tests attempted.

&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P&gt;To Automate the connection the user can simply embed the credentials into the URL address that is targeted. The syntax is to embed username and password separated by a colon (:) and followed by the at symbol (@) in between the protocol [http(s)://] and the url address.&lt;/P&gt;
&lt;P&gt;EXAMPLE:&amp;nbsp;&lt;A target="_blank"&gt;https://&amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@target_url.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This can be executed on the command line by calling the browser exe followed by the modified URL&lt;/P&gt;
&lt;P&gt;EXAMPLE:&lt;/P&gt;
&lt;P&gt;C:\Windows\system32&amp;gt;"c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --incognito “&lt;A href="http://admin:admin@192.168.200.21/" target="_blank"&gt;http://admin:admin@192.168.200.21&lt;/A&gt;”&lt;/P&gt;
&lt;P&gt;Before creating a Connection, Component test the command line method from the PSM servers to ensure that web site you are trying to automate actually works.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;Due to the variance of web servers embedded into devices, they may behave differently and issue different error codes.&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;H2 id="HowtoWebBasedConnectionComponentAutoLogonHTTPSwithoutwebforms-"&gt;&lt;STRONG&gt;Creating the Connection Component&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;1.Copy PSM-SQLServerMgmtStudio or other Command Line based Connection Component&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOT WEB FORM OR WEB APP&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFs.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97121i0EB1FFF86939A347/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFs.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFs.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.Paste Connection&amp;nbsp;Component&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFx.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97122i4C81FD96AD5DA5ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFx.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFx.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Rename the Connection Component (Good Practice is to include the name of the website in the Name i.e Polycom Admin)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuG2.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97123iA01754287A1275AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuG2.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuG2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4.Goto Target Settings for new Connection Component and&amp;nbsp;Change *ClientApp to start Browser EXE with URL&amp;nbsp;(Exactly as tested on the command line)&lt;/P&gt;
&lt;P&gt;(&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: Ensure that exe is surrounded in quotes as well as the url is also surrounded in quotes!)&lt;/P&gt;
&lt;P&gt;(&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: for Chrome add the --incognito switch or IE.exe add the -inprivate switch)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGC.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97124iEA70B57CECD9AD85/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGC.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGC.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: The ClientInvokeType must be&amp;nbsp;&lt;STRONG&gt;CommandLine&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;5. Save all Changes&lt;/P&gt;
&lt;P&gt;6. Navigate&amp;nbsp;to Platform Management&lt;/P&gt;
&lt;P&gt;7. add new Connection Component under the UI &amp;amp; WorkFlows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGH.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97125iDC9B07C260AD012A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGH.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGH.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGM.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97126iD4A3875CB9C0A163/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGM.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 id="HowtoWebBasedConnectionComponentAutoLogonHTTPSwithoutwebforms-Updates:"&gt;Updates:&lt;/H2&gt;
&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Use Domain Credentials&lt;/STRONG&gt;&amp;nbsp;- To use domain credentials format the username:password in url as such&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;DOMAIN%5Cusername:password – For testing&lt;/P&gt;
&lt;P&gt;ConnectionComponent – {LogonTo}%5C{username}:{password}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;No Credentials IF web site requires no credentials&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Remove the username:password fields from the URL address&lt;/P&gt;
&lt;P&gt;No Component Logs are created if PSM Trace levels are turned off&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 16:22:53 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2023-01-17T16:22:53Z</dc:date>
    <item>
      <title>How to Web Based Connection Component - Auto Logon HTTPS without web forms</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-to-web-based-connection-component-auto-logon-https-without/ta-p/1429481</link>
      <description>Many websites hosted from various servers, and devices use Basic Authentication method, making web forms unusable for web based connection components. In order to create a connection component you may have to invoke the web browser and URL address with credentials embedded into the url. This document displays the symptoms of a non web form based web site, the reasons for the issue and the steps necessary to create a working connection component. Since all web servers are different this may not satisfy every situation but has proven successful on the majority of the tests attempted.

&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P&gt;To Automate the connection the user can simply embed the credentials into the URL address that is targeted. The syntax is to embed username and password separated by a colon (:) and followed by the at symbol (@) in between the protocol [http(s)://] and the url address.&lt;/P&gt;
&lt;P&gt;EXAMPLE:&amp;nbsp;&lt;A target="_blank"&gt;https://&amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@target_url.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This can be executed on the command line by calling the browser exe followed by the modified URL&lt;/P&gt;
&lt;P&gt;EXAMPLE:&lt;/P&gt;
&lt;P&gt;C:\Windows\system32&amp;gt;"c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --incognito “&lt;A href="http://admin:admin@192.168.200.21/" target="_blank"&gt;http://admin:admin@192.168.200.21&lt;/A&gt;”&lt;/P&gt;
&lt;P&gt;Before creating a Connection, Component test the command line method from the PSM servers to ensure that web site you are trying to automate actually works.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;Due to the variance of web servers embedded into devices, they may behave differently and issue different error codes.&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;H2 id="HowtoWebBasedConnectionComponentAutoLogonHTTPSwithoutwebforms-"&gt;&lt;STRONG&gt;Creating the Connection Component&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;1.Copy PSM-SQLServerMgmtStudio or other Command Line based Connection Component&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOT WEB FORM OR WEB APP&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFs.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97121i0EB1FFF86939A347/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFs.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFs.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.Paste Connection&amp;nbsp;Component&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFx.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97122i4C81FD96AD5DA5ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFx.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuFx.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Rename the Connection Component (Good Practice is to include the name of the website in the Name i.e Polycom Admin)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuG2.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97123iA01754287A1275AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuG2.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuG2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4.Goto Target Settings for new Connection Component and&amp;nbsp;Change *ClientApp to start Browser EXE with URL&amp;nbsp;(Exactly as tested on the command line)&lt;/P&gt;
&lt;P&gt;(&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: Ensure that exe is surrounded in quotes as well as the url is also surrounded in quotes!)&lt;/P&gt;
&lt;P&gt;(&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: for Chrome add the --incognito switch or IE.exe add the -inprivate switch)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGC.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97124iEA70B57CECD9AD85/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGC.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGC.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: The ClientInvokeType must be&amp;nbsp;&lt;STRONG&gt;CommandLine&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;5. Save all Changes&lt;/P&gt;
&lt;P&gt;6. Navigate&amp;nbsp;to Platform Management&lt;/P&gt;
&lt;P&gt;7. add new Connection Component under the UI &amp;amp; WorkFlows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGH.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97125iDC9B07C260AD012A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGH.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGH.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGM.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97126iD4A3875CB9C0A163/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGM.png" alt="ka32J00000056xQQAQ__eid=ka32J00000056xQ&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003JuGM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 id="HowtoWebBasedConnectionComponentAutoLogonHTTPSwithoutwebforms-Updates:"&gt;Updates:&lt;/H2&gt;
&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Use Domain Credentials&lt;/STRONG&gt;&amp;nbsp;- To use domain credentials format the username:password in url as such&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;DOMAIN%5Cusername:password – For testing&lt;/P&gt;
&lt;P&gt;ConnectionComponent – {LogonTo}%5C{username}:{password}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;No Credentials IF web site requires no credentials&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Remove the username:password fields from the URL address&lt;/P&gt;
&lt;P&gt;No Component Logs are created if PSM Trace levels are turned off&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:22:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-to-web-based-connection-component-auto-logon-https-without/ta-p/1429481</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-01-17T16:22:53Z</dc:date>
    </item>
  </channel>
</rss>

