<?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 Proper Syntax for Local Cert Generation in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/proper-syntax-for-local-cert-generation/m-p/192758#M1528</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some help on the proper XML structure for an API call to generate a local certificate. Every which way I try sending queries lands me an 'Illegal request [parameter]' response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I've tried lately was the following (with variables provided from a PowerShell function):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;request&amp;gt;&amp;lt;certificate&amp;gt;&amp;lt;generate&amp;gt;&amp;lt;name&amp;gt;$CertificateName&amp;lt;signed-by&amp;gt;$SignedBy&amp;lt;algorithm&amp;gt;&amp;lt;certificate-name&amp;gt;$Username&amp;lt;days-till-expiry&amp;gt;$ExpiryDays&amp;lt;digest&amp;gt;$Digest&amp;lt;RSA&amp;gt;&amp;lt;rsa-nbits&amp;gt;$RSABits&amp;lt;/rsa-nbits&amp;gt;&amp;lt;/RSA&amp;gt;&amp;lt;/digest&amp;gt;&amp;lt;days-till-expiry&amp;gt;&amp;lt;certificate-name&amp;gt;&amp;lt;/algorithm&amp;gt;&amp;lt;/name&amp;gt;&amp;lt;/signed-by&amp;gt;&amp;lt;/generate&amp;gt;&amp;lt;/certificate&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So ideally, I'd like to include the certificate name, CN, SignedBy, RSA w/20148 bits, sha256 digest, and 1 year expiry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be a huge help!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 20:00:35 GMT</pubDate>
    <dc:creator>f1r3withf1r3</dc:creator>
    <dc:date>2017-12-21T20:00:35Z</dc:date>
    <item>
      <title>Proper Syntax for Local Cert Generation</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/proper-syntax-for-local-cert-generation/m-p/192758#M1528</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some help on the proper XML structure for an API call to generate a local certificate. Every which way I try sending queries lands me an 'Illegal request [parameter]' response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I've tried lately was the following (with variables provided from a PowerShell function):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;request&amp;gt;&amp;lt;certificate&amp;gt;&amp;lt;generate&amp;gt;&amp;lt;name&amp;gt;$CertificateName&amp;lt;signed-by&amp;gt;$SignedBy&amp;lt;algorithm&amp;gt;&amp;lt;certificate-name&amp;gt;$Username&amp;lt;days-till-expiry&amp;gt;$ExpiryDays&amp;lt;digest&amp;gt;$Digest&amp;lt;RSA&amp;gt;&amp;lt;rsa-nbits&amp;gt;$RSABits&amp;lt;/rsa-nbits&amp;gt;&amp;lt;/RSA&amp;gt;&amp;lt;/digest&amp;gt;&amp;lt;days-till-expiry&amp;gt;&amp;lt;certificate-name&amp;gt;&amp;lt;/algorithm&amp;gt;&amp;lt;/name&amp;gt;&amp;lt;/signed-by&amp;gt;&amp;lt;/generate&amp;gt;&amp;lt;/certificate&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So ideally, I'd like to include the certificate name, CN, SignedBy, RSA w/20148 bits, sha256 digest, and 1 year expiry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be a huge help!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 20:00:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/proper-syntax-for-local-cert-generation/m-p/192758#M1528</guid>
      <dc:creator>f1r3withf1r3</dc:creator>
      <dc:date>2017-12-21T20:00:35Z</dc:date>
    </item>
  </channel>
</rss>

