<?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: api/v1/certs/system-certificate/export throws  could not prepare s in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840526#M581914</link>
    <description>&lt;P&gt;Normally when asking a question on these forums, we don't just dump a long list of errors and expect an answer. You might start with a simple intro and some commands (if you expect others to try it on their systems to see if they can also see the same error).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what version of ISE etc.&lt;/P&gt;
&lt;P&gt;If it's a software defect on a production system you should also open a TAC case (if you haven't already done so.)&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 20:24:25 GMT</pubDate>
    <dc:creator>Arne Bier</dc:creator>
    <dc:date>2023-05-22T20:24:25Z</dc:date>
    <item>
      <title>API /system-certificate/export throws could not prepare statement erro</title>
      <link>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840251#M581912</link>
      <description>&lt;P&gt;The Above Post API response from the Cisco ISE v&lt;SPAN&gt;3.1.0.518&lt;/SPAN&gt; is not consistent. Out of 6 tries 1 API request is failing with the below exception. (Same API test with same payload)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023-05-22 13:53:31,914 ERROR [openapi-http-pool8][] com.cisco.epm.ssl.SSLManagerFactory -::::- Error in creating trust manager factory&lt;BR /&gt;com.cisco.cpm.edf2.na.EDFNetworkDeviceException: org.hibernate.exception.GenericJDBCException: could not prepare statement&lt;BR /&gt;at com.cisco.cpm.infrastructure.certmgmt.helpers.CertMgmtEDFHelper.getAllTrustCerts(CertMgmtEDFHelper.java:38)&lt;BR /&gt;at com.cisco.cpm.infrastructure.certmgmt.im.TrustCertificate.getAllTrustCertificates(TrustCertificate.java:29)&lt;BR /&gt;at org.apache.tomcat.util.net.jsse.IseTrustStoreLoader.getAllTrustCerts(IseTrustStoreLoader.java:116)&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 04:04:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840251#M581912</guid>
      <dc:creator>prathwishhegde</dc:creator>
      <dc:date>2023-05-23T04:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: api/v1/certs/system-certificate/export throws  could not prepare s</title>
      <link>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840526#M581914</link>
      <description>&lt;P&gt;Normally when asking a question on these forums, we don't just dump a long list of errors and expect an answer. You might start with a simple intro and some commands (if you expect others to try it on their systems to see if they can also see the same error).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what version of ISE etc.&lt;/P&gt;
&lt;P&gt;If it's a software defect on a production system you should also open a TAC case (if you haven't already done so.)&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 20:24:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840526#M581914</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2023-05-22T20:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: api/v1/certs/system-certificate/export throws  could not prepare s</title>
      <link>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840658#M581917</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/158532"&gt;@Arne Bier&lt;/a&gt;&amp;nbsp;&amp;nbsp;The Above Post API response from the Cisco ISE v&lt;/SPAN&gt;&lt;SPAN&gt;3.1.0.518&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is not consistent. Out of 6 tries 1 API request is failing with the exception shared above. (Same API test with the same payload)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 04:05:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840658#M581917</guid>
      <dc:creator>prathwishhegde</dc:creator>
      <dc:date>2023-05-23T04:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: api/v1/certs/system-certificate/export throws  could not prepare s</title>
      <link>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840683#M581920</link>
      <description>&lt;P&gt;I'm unable to replicate any issues with the '/api/v1/certs/system-certificate/export' POST API call in my ISE 3.1 patch 6 instance.&lt;/P&gt;
&lt;P&gt;I tried with both export options..&lt;BR /&gt;"export": "CERTIFICATE_WITH_PRIVATE_KEY" (specifying the password key/value)&lt;BR /&gt;"export": "CERTIFICATE"&lt;/P&gt;
&lt;P&gt;I executed the API call 10 times in a row with both export option and the response for each iteration was 200 OK. I tested using both Postman and the built-in Swagger UI with the same results.&lt;/P&gt;
&lt;P&gt;If you're running the latest patch, you will likely need to open a TAC case to investigate further.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 06:14:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/api-system-certificate-export-throws-could-not-prepare-statement/m-p/4840683#M581920</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2023-05-23T06:14:57Z</dc:date>
    </item>
  </channel>
</rss>

