<?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 API and mgmt_cli add server-certificates Failed to create HTTPS inbound certificate with error -1 in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-and-mgmt-cli-add-server-certificates-Failed-to-create-HTTPS/m-p/140507#M6585</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;R81, API 1.7.1&lt;BR /&gt;add server-certificates&amp;nbsp; for HPPTS-Inspection failed when using API , mgmt_cli or Web Service.&lt;BR /&gt;It functions only manually using the dashboard.&lt;BR /&gt;( on console not possible because the certificate p12 in base64 is too big for the console)&lt;/P&gt;&lt;P&gt;I always receive "Failed to create HTTPS inbound certificate with error -1"&lt;/P&gt;&lt;P&gt;as basic command used ( also with other user mgmt_cli --user .... )&lt;BR /&gt;mgmt_cli -r true add server-certificate name "NameCertificate" base64-certificate "MIIQEAIB...5489characters....ggA" base64-password "password_format_base64" comments "TESTING CERTIFICATE IMPORT"&lt;/P&gt;&lt;P&gt;What I did for converting and testing the formatted base64 certificate&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- converted to base64 using #base64 ...file.p12 | tr -d '\n' &amp;gt; certificate_p12_formatbase64&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- tested way back unsing "base64 -d " and "openssl pkcs12"&lt;BR /&gt;&lt;BR /&gt;What could be the issue ? do have someone else this issue ?&lt;/P&gt;&lt;P&gt;the --debug option do not give any further information&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;BR /&gt;Jean-Michel&lt;/P&gt;</description>
    <pubDate>Fri, 04 Feb 2022 13:18:23 GMT</pubDate>
    <dc:creator>pepj</dc:creator>
    <dc:date>2022-02-04T13:18:23Z</dc:date>
    <item>
      <title>API and mgmt_cli add server-certificates Failed to create HTTPS inbound certificate with error -1</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-and-mgmt-cli-add-server-certificates-Failed-to-create-HTTPS/m-p/140507#M6585</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;R81, API 1.7.1&lt;BR /&gt;add server-certificates&amp;nbsp; for HPPTS-Inspection failed when using API , mgmt_cli or Web Service.&lt;BR /&gt;It functions only manually using the dashboard.&lt;BR /&gt;( on console not possible because the certificate p12 in base64 is too big for the console)&lt;/P&gt;&lt;P&gt;I always receive "Failed to create HTTPS inbound certificate with error -1"&lt;/P&gt;&lt;P&gt;as basic command used ( also with other user mgmt_cli --user .... )&lt;BR /&gt;mgmt_cli -r true add server-certificate name "NameCertificate" base64-certificate "MIIQEAIB...5489characters....ggA" base64-password "password_format_base64" comments "TESTING CERTIFICATE IMPORT"&lt;/P&gt;&lt;P&gt;What I did for converting and testing the formatted base64 certificate&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- converted to base64 using #base64 ...file.p12 | tr -d '\n' &amp;gt; certificate_p12_formatbase64&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- tested way back unsing "base64 -d " and "openssl pkcs12"&lt;BR /&gt;&lt;BR /&gt;What could be the issue ? do have someone else this issue ?&lt;/P&gt;&lt;P&gt;the --debug option do not give any further information&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;BR /&gt;Jean-Michel&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 13:18:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-and-mgmt-cli-add-server-certificates-Failed-to-create-HTTPS/m-p/140507#M6585</guid>
      <dc:creator>pepj</dc:creator>
      <dc:date>2022-02-04T13:18:23Z</dc:date>
    </item>
  </channel>
</rss>

