<?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>topic Re: Automate adding certificate to TS agent in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529648#M109325</link>
    <description>&lt;P&gt;Thanks for sharing&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/145286"&gt;@CHARRIER&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2023 18:13:19 GMT</pubDate>
    <dc:creator>JayGolf</dc:creator>
    <dc:date>2023-02-02T18:13:19Z</dc:date>
    <item>
      <title>Automate adding certificate to TS agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529331#M109275</link>
      <description>&lt;P&gt;Hello, I am trying to automate the configuration of the certificate part of the ts agent . My problem is to automate adding the certificate private key password in the ts agent. &lt;/P&gt;
&lt;P&gt;I have the certificate part filled in with registry keys but i have this error message when i try to launch the PanTaservice : &lt;/P&gt;
&lt;P&gt;01/31/23 17:18:24[Error 341]: Query password read error: 2!!!!&lt;BR /&gt;01/31/23 17:18:24[Error 665]: Unable to retrieve password from cred store!!!!&lt;BR /&gt;01/31/23 17:18:24[Error 576]: Start service fails due to start link failure!!!!&lt;BR /&gt;01/31/23 17:18:24[Error 409]: Start error -1!!&lt;BR /&gt;01/31/23 17:18:24[Info 118]: Stop driver succeeds.&lt;BR /&gt;01/31/23 17:18:24[Info 176]: Service stopped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone know how to do it? and where is stored this password ? &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 16:57:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529331#M109275</guid>
      <dc:creator>CHARRIER</dc:creator>
      <dc:date>2023-01-31T16:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automate adding certificate to TS agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529355#M109280</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/145286"&gt;@CHARRIER&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was the certificate you used generated from the firewall or from internal PKI?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 20:18:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529355#M109280</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2023-01-31T20:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automate adding certificate to TS agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529420#M109296</link>
      <description>&lt;P&gt;Hello &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/220841"&gt;@JayGolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The certificate is generated by the internal PKI.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 07:08:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529420#M109296</guid>
      <dc:creator>CHARRIER</dc:creator>
      <dc:date>2023-02-01T07:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automate adding certificate to TS agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529464#M109306</link>
      <description>&lt;P&gt;I found the solution, i see 6 registry key are created in HKLM/SOFTWARE\Palo Alto Networks\TS Agent\Conf :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TSAgentCNALTNAME&lt;/P&gt;
&lt;P&gt;TSAgentCNEXPIRY&lt;/P&gt;
&lt;P&gt;TSAgentCNISSUER&lt;/P&gt;
&lt;P&gt;TSAgentCNNAME&lt;/P&gt;
&lt;P&gt;TSAgentCNSUBJECT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And TSAgentSSL, that the key used to add the password certificate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the value for the key TSAgentSSL with Process Monitor application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This registry key is deleted when the service boot. that's why i doesn't see this key before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I add the creation of this registry key in the script and the service is booting now&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 14:10:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529464#M109306</guid>
      <dc:creator>CHARRIER</dc:creator>
      <dc:date>2023-02-01T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Automate adding certificate to TS agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529648#M109325</link>
      <description>&lt;P&gt;Thanks for sharing&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/145286"&gt;@CHARRIER&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 18:13:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/automate-adding-certificate-to-ts-agent/m-p/529648#M109325</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2023-02-02T18:13:19Z</dc:date>
    </item>
  </channel>
</rss>

