<?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 How to resolve unverified HTTPS error in cpauto? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5181#M437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having a great experience building CLI tools based on&amp;nbsp;#&lt;A href="https://github.com/dana-at-cp/cpauto"&gt;cpauto&lt;/A&gt;. Props to&amp;nbsp;&lt;A href="https://community.checkpoint.com/migrated-users/43467"&gt;Dana Traversie&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have best practices suggestions for adding HTTPS verification and avoiding the following error that I get on each API request?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings" rel="nofollow"&gt;https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings&lt;/A&gt;&lt;BR /&gt; InsecureRequestWarning)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 19:34:52 GMT</pubDate>
    <dc:creator>Bowman_Klinkenb</dc:creator>
    <dc:date>2017-08-10T19:34:52Z</dc:date>
    <item>
      <title>How to resolve unverified HTTPS error in cpauto?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5181#M437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having a great experience building CLI tools based on&amp;nbsp;#&lt;A href="https://github.com/dana-at-cp/cpauto"&gt;cpauto&lt;/A&gt;. Props to&amp;nbsp;&lt;A href="https://community.checkpoint.com/migrated-users/43467"&gt;Dana Traversie&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have best practices suggestions for adding HTTPS verification and avoiding the following error that I get on each API request?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings" rel="nofollow"&gt;https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings&lt;/A&gt;&lt;BR /&gt; InsecureRequestWarning)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 19:34:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5181#M437</guid>
      <dc:creator>Bowman_Klinkenb</dc:creator>
      <dc:date>2017-08-10T19:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve unverified HTTPS error in cpauto?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5182#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.checkpoint.com/migrated-users/45823"&gt;Bowman Klinkenberg&lt;/A&gt;‌ ... take a look at this documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings"&gt;https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 05:24:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5182#M438</guid>
      <dc:creator>Dana_Traversie</dc:creator>
      <dc:date>2017-08-11T05:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve unverified HTTPS error in cpauto?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5183#M439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to add the actual solution here in this post that was provided by Dana Traversie as seen below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a complete novice python programmer, the documentation linked to did not help at all, and quite honestly confused me even more. I found the solution in another CP Communities post, but thought it would make sense to have linked directly to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will help others from struggling like I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #333333; border: 0px; font-size: 14px; margin: 0px 0px 0px 46px;"&gt;&lt;SPAN class="" style="color: #e45785; border: 0px; font-weight: 500; font-size: 0.7857rem;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 10.9998px;"&gt;&lt;A _jive_internal="true" class="" data-userid="43467" data-username="dtrav711fd988-8fcb-4eb8-9ca0-1e4b66df9a17" href="https://community.checkpoint.com/people/dtrav711fd988-8fcb-4eb8-9ca0-1e4b66df9a17" style="color: #e45785; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Dana Traversie&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;IMG alt="Employee" class="" height="16" src="https://community.checkpoint.com/resources/statics/rolebadges/roleBadge-4-1006-1457369641423.png?a=1457369641427" style="border: 0px; font-weight: inherit; font-size: 10.9998px; margin: 0px 2px -3px -1px;" title="Employee" width="16" /&gt;&lt;/SPAN&gt;@&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.checkpoint.com/docs/DOC-2001#comment-2189" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 10.9998px;" title="Go to message"&gt;Irek Romaniuk&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SMALL style="border: 0px; font-weight: 400; font-size: 0.7857rem;"&gt;on&lt;/SMALL&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.checkpoint.com/docs/DOC-2001#comment-2237" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 10.9998px;"&gt;Aug 10, 2017 10:17 PM&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Hello Irek.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Try again with SSL certificate verification disabled:&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="color: #333333; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;&amp;gt;&amp;gt;&amp;gt; cc=cpauto.CoreClient('root','password','10.254.253.110',verify=False)&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; border: 0px; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="2237" style="color: #6d6e71; border: 0px; font-weight: inherit; font-size: 0.8571rem;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;&lt;SPAN class="" data-object-id="2237" data-object-type="105" style="color: #6d6e71; border: 0px; font-weight: inherit; font-size: 11.9994px; margin: 0px 0px 0px 1.6em;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: 400; font-size: 1.286rem; margin: 0px 5px 0px 0px;"&gt;&lt;/SPAN&gt;Helpful&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-command="mark" data-type="helpful" href="https://community.checkpoint.com/docs/DOC-2001" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 11.9994px; margin: 0px 0px 0px 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;Yes&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px; margin: 0px 2px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;•&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-command="mark" data-type="unhelpful" href="https://community.checkpoint.com/docs/DOC-2001" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 11.9994px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;No&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px; margin: 0px 0px 0px 1.6em;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: 400; font-size: 1.286rem; margin: 0px 5px 0px 0px;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;&lt;SPAN class="" data-acclaim-count="0" data-bullet="true" data-can-apply="true" data-show-icon="true" data-type="small" style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;&lt;A _jive_internal="true" class="" data-acclaim-type="like" data-command="credit" data-object-id="2237" data-object-type="105" href="https://community.checkpoint.com/docs/DOC-2001" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 11.9994px;" title="Like"&gt;Like&lt;/A&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px; margin: 0px 2px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;•&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LABEL class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;Show 0 Likes&lt;/LABEL&gt;&lt;A _jive_internal="true" class="" data-acclaim-type="like" data-command="showAcclaim" data-count="0" data-object-id="2237" data-object-type="105" href="https://community.checkpoint.com/docs/DOC-2001" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 11.9994px; margin: 0px 0px 0px -6px; padding: 3px 6px;" title="Show 0 Likes"&gt;0&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A data-isanonymous="false" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 11.9994px; margin: 0px 0px 0px 1.6em;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: 400; font-size: 1.286rem; margin: 0px 5px 0px 0px;"&gt;&lt;/SPAN&gt;Reply&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #6d6e71; border: 0px; font-weight: inherit; font-size: 0.8571rem;"&gt;&lt;A _jive_internal="true" class="" data-author-id="43467" data-dom-actions="[{&amp;quot;labelSuffix&amp;quot;:&amp;quot;reportAbuse&amp;quot;,&amp;quot;url&amp;quot;:&amp;quot;/message-abuse!input.jspa?objectID=2237&amp;amp;objectType=105&amp;quot;,&amp;quot;extraClasses&amp;quot;:&amp;quot;js-modalize-action&amp;quot;}]" data-object-id="2237" data-object-type="105" data-object-url="https://community.checkpoint.com/docs/DOC-2001#comment-2237" data-parent-id="2189" data-root-community="CheckMates" href="https://community.checkpoint.com/docs/DOC-2001" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 11.9994px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: 400; font-size: 11.9994px;"&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Actions&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:00:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-resolve-unverified-HTTPS-error-in-cpauto/m-p/5183#M439</guid>
      <dc:creator>John_Tammaro1</dc:creator>
      <dc:date>2017-09-01T11:00:03Z</dc:date>
    </item>
  </channel>
</rss>

