<?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 accepting custom cert -failed in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/accepting-custom-cert-failed/m-p/508920#M1049</link>
    <description>&lt;P&gt;Have followed this kb however under instance, it is still unable to test successfully when unchecking the trust all certification options under the integrated instance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-1/cortex-xsoar-admin/docker/configure-python-docker-integrations-to-trust-custom-certificates" target="_blank"&gt; https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-1/cortex-xsoar-admin/docker/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;upon further checking, have noticed the following empty fields. Not sure if it is supposed to be this way or there are some steps performed wrongly.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aneo_0-1657771048980.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/42468i667C98D38A3BB40E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Aneo_0-1657771048980.png" alt="Aneo_0-1657771048980.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 03:58:53 GMT</pubDate>
    <dc:creator>AndrewNeo</dc:creator>
    <dc:date>2022-07-14T03:58:53Z</dc:date>
    <item>
      <title>accepting custom cert -failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/accepting-custom-cert-failed/m-p/508920#M1049</link>
      <description>&lt;P&gt;Have followed this kb however under instance, it is still unable to test successfully when unchecking the trust all certification options under the integrated instance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-1/cortex-xsoar-admin/docker/configure-python-docker-integrations-to-trust-custom-certificates" target="_blank"&gt; https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-1/cortex-xsoar-admin/docker/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;upon further checking, have noticed the following empty fields. Not sure if it is supposed to be this way or there are some steps performed wrongly.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aneo_0-1657771048980.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/42468i667C98D38A3BB40E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Aneo_0-1657771048980.png" alt="Aneo_0-1657771048980.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 03:58:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/accepting-custom-cert-failed/m-p/508920#M1049</guid>
      <dc:creator>AndrewNeo</dc:creator>
      <dc:date>2022-07-14T03:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: accepting custom cert -failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/accepting-custom-cert-failed/m-p/509185#M1059</link>
      <description>&lt;P&gt;Did you add the server configuration key and restart the server? You can verify that the certificate file is being mounted in the container by enabling debug logs, running the /reset_containers command in the playroom (this will restart all of the docker containers on the XSOAR server), and then looking for the `docker run` commands in the server.log. You should see a line similar to this one&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2022-07-18 13:21:37.0992 debug docker command: /usr/bin/docker run -i --rm --name demistoserver_pyexec-19aae628-2f7f-49b6-8e2b-48fb671e4688-demistopython1.3-alpine--13 --env HTTP_PROXY= --env http_proxy= --env HTTPS_PROXY= --env https_proxy= --log-driver json-file --log-opt max-size=2m -v /var/lib/demisto/python-ssl-certs.pem:/etc/custom-python-ssl/certs.pem:ro,z --env REQUESTS_CA_BUNDLE=/etc/custom-python-ssl/certs.pem --env SSL_CERT_FILE=/etc/custom-python-ssl/certs.pem -v /usr/local/demisto/res/_script_docker_python_loop.py:/tmp/pyrunner/_script_docker_python_loop.py:ro -v /var/lib/demisto/temp/script1815803324:/var/lib/demisto:Z -w /var/lib/demisto demisto/python:1.3-alpine python /tmp/pyrunner/_script_docker_python_loop.py (source: /builds/GOPATH/src/code.pan.run/xsoar/server/services/automation/container.go:326)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this output we can see that the certificate file is being mounted into the container and the environment variables REQUEST_CA_BUNDLE and SSL_CERT_FILE being set with these options&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-v /var/lib/demisto/python-ssl-certs.pem:/etc/custom-python-ssl/certs.pem:ro,z --env REQUESTS_CA_BUNDLE=/etc/custom-python-ssl/certs.pem --env SSL_CERT_FILE=/etc/custom-python-ssl/certs.pem&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Also, you should indeed see the environment variables configured when running the !CertificatesTroubleshoot command.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tyler_bailey_0-1658151275671.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/42530iEBA02214FAAF0889/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="tyler_bailey_0-1658151275671.png" alt="tyler_bailey_0-1658151275671.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 13:38:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/accepting-custom-cert-failed/m-p/509185#M1059</guid>
      <dc:creator>tyler_bailey</dc:creator>
      <dc:date>2022-07-18T13:38:02Z</dc:date>
    </item>
  </channel>
</rss>

