<?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: Issue with certificates - Encountering SSL handshake failure error in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/540435#M2062</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208028"&gt;@jfernandes1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion,&lt;BR /&gt;I'm trying to integration one of the endpoint via XSOAR engine. It is tightened up with 2 way SSL communication. from XSOAR engine terminal, I'm able to connect the endpoint using the command '&lt;SPAN&gt;&lt;STRONG&gt;wget &amp;lt;endpoint URL&amp;gt; --certificate=/usr/local/demisto/d1.cert.pem --private-key=/usr/local/demisto/d1.key.pem'&lt;/STRONG&gt; '. (Note: XSOAR certificate and private key should be passed on the command for successful connection else it will through&amp;nbsp;'SSL: SSLV3_ALERT_HANDSHAKE_FAILURE' error). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How to achieve&amp;nbsp;this in integration code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 06:18:24 GMT</pubDate>
    <dc:creator>DP696</dc:creator>
    <dc:date>2023-04-28T06:18:24Z</dc:date>
    <item>
      <title>Issue with certificates - Encountering SSL handshake failure error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/534178#M1884</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Created own self-signed certificate, and replaced with the certificate and key in the designated path '/usr/local/demisto/d1.cert.pem &amp;amp; /usr/local/demisto/d1.key.pem' (on XSOAR engine) and given the required permission and ownership to the files. For one of the endpoint that we are looking to integrate with XSOAR is tighten with 2-way SSL connection. To establish an SSL connection with that endpoint, it is necessary to pass XSOAR certificate and its corresponding private key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Connection is successful for the following command from the terminal: 'wget &amp;lt;endpoint URL&amp;gt; --certificate=/usr/local/demisto/d1.cert.pem --private-key=/usr/local/demisto/d1.key.pem'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, upon attempting to execute integration code from XSOAR UI, encountered an error message of 'SSL handshake failure'.&amp;nbsp;&lt;BR /&gt;when tried to pass XSOAR certificate path and key path explicitly, getting the error message&amp;nbsp; 'OSError: Could not find the TLS certificate file, invalid path: '/usr/local/demisto/d1.cert.pem'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why XSOAR is failing to use the certificate and key from the default path '/usr/local/demisto'? Are there any configuration needs to be add to make the XSOAR to use certificates and key?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 13:14:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/534178#M1884</guid>
      <dc:creator>DP696</dc:creator>
      <dc:date>2023-03-13T13:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with certificates - Encountering SSL handshake failure error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/538708#M2010</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/226817"&gt;@DP696&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm confused by your questions. The certificate file for the engine is used for communication to the engine server only.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your integration requires a custom certification, please follow the instructions here -&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Configure-Python-Docker-Integrations-to-Trust-Custom-Certificates" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Configure-Python-Docker-Integrations-to-Trust-Custom-Certificates&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message you're getting is because the container does not have a file in that location. We do not support accessing OS filesystem through the container. This use to be allowed with engines before. You can replicate what we do for the "Remote Access" integration. We go via the network using scp.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 03:26:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/538708#M2010</guid>
      <dc:creator>jfernandes1</dc:creator>
      <dc:date>2023-04-14T03:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with certificates - Encountering SSL handshake failure error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/540435#M2062</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208028"&gt;@jfernandes1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion,&lt;BR /&gt;I'm trying to integration one of the endpoint via XSOAR engine. It is tightened up with 2 way SSL communication. from XSOAR engine terminal, I'm able to connect the endpoint using the command '&lt;SPAN&gt;&lt;STRONG&gt;wget &amp;lt;endpoint URL&amp;gt; --certificate=/usr/local/demisto/d1.cert.pem --private-key=/usr/local/demisto/d1.key.pem'&lt;/STRONG&gt; '. (Note: XSOAR certificate and private key should be passed on the command for successful connection else it will through&amp;nbsp;'SSL: SSLV3_ALERT_HANDSHAKE_FAILURE' error). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How to achieve&amp;nbsp;this in integration code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 06:18:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/issue-with-certificates-encountering-ssl-handshake-failure-error/m-p/540435#M2062</guid>
      <dc:creator>DP696</dc:creator>
      <dc:date>2023-04-28T06:18:24Z</dc:date>
    </item>
  </channel>
</rss>

