<?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: WLC C9800 - Unable to import pfx Certificate in Wireless</title>
    <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709347#M247470</link>
    <description>&lt;P&gt;openssl check - all ok&lt;/P&gt;&lt;P&gt;I tried via SCP rather than HTTPS still the same issue. I'm carrying out the same steps as yourself.....wondering if this is a bug?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 11:09:41 GMT</pubDate>
    <dc:creator>stephendrkw</dc:creator>
    <dc:date>2022-10-25T11:09:41Z</dc:date>
    <item>
      <title>WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709278#M247465</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to import a PCKS12 Device Mgmt certificate into my Wireless Controller C9800, unlike my previous 5508 WLC's there are now Trustpoints etc involved.&lt;/P&gt;&lt;P&gt;The way we generate Certificates is we do not generate a CSR from the Device, rather input device details manually on a Cert Server GUI and this generates a.pfx file we download. We would import this .pfx onto the device and bang! Cert installs successfully just like on my 5508's!&amp;nbsp;&lt;/P&gt;&lt;P&gt;C9800 log:&lt;/P&gt;&lt;P&gt;Oct 25 08:23:37.190: CRYPTO_PKI: status = 0x705(E_INPUT_DATA : invalid encoding format for input data): Imported PKCS12 file failure&lt;BR /&gt;Oct 25 08:23:37.192: %PKI-3-PKCS12_IMPORT_FAILURE: PKCS #12 import failed for trustpoint: C9800.hello.com.pfx. Reason: Failed to import pkcs12 context&lt;/P&gt;&lt;P&gt;I don't want to connect to our CA Server as there are so many hurdles internally to use SCEP. Is there a way to import a .pfx into C9800 directly without a Trustpoint. Every time I create a Trustpoint, C9800 forces me to authenticate to a CA Server. Also, I am surprised the logs are complaining about invalid encoding format, aren't p12 and pfx are the same (PCKS#12) depending how your server generates them.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 09:16:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709278#M247465</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-25T09:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709303#M247466</link>
      <description>&lt;P&gt;"debug pki transaction" ouput below, to me this indicates that the import pfx is trying to use the Cisco Self-Signed Trustpoint and failing?&lt;/P&gt;&lt;P&gt;Oct 25 09:24:56.260: CRYPTO_PKI: Rcvd request to end PKI session A3FE3.&lt;BR /&gt;Oct 25 09:24:56.260: CRYPTO_PKI: PKI session A3FE3 has ended. Freeing all resources.TP-self-signed-146588143:unlocked trustpoint TP-self-signed-146588143, refcount is 0&lt;BR /&gt;Oct 25 09:24:56.309: CRYPTO_PKI: Initializing renewal timers&lt;BR /&gt;Oct 25 09:24:56.312: CRYPTO_PKI: (A3FE5) Session started - identity selected (TP-self-signed-146588143)xTP-self-signed-146588143:refcount after increment = 1&lt;BR /&gt;Oct 25 09:24:56.312: CRYPTO_PKI: Begin local cert chain retrieval.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Done with local cert chain fetch 0.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Begin trustpoint info get.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Successfully got trustpoint info.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: (93FE6) Session started - identity selected (TP-self-signed-146588143)TP-self-signed-146588143:refcount after increment = 2&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Begin local cert chain retrieval.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Done with local cert chain fetch 0.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Rcvd request to end PKI session 93FE6.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: PKI session 93FE6 has ended. Freeing all resources.TP-self-signed-146588143:unlocked trustpoint TP-self-signed-146588143, refcount is 1&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: Rcvd request to end PKI session A3FE5.&lt;BR /&gt;Oct 25 09:24:56.313: CRYPTO_PKI: PKI session A3FE5 has ended. Freeing all resources.TP-self-signed-146588143:unlocked trustpoint TP-self-signed-146588143, refcount is 0&lt;BR /&gt;Oct 25 09:24:56.738: CRYPTO_PKI: Copying pkcs12 from bootflash:C9800.hello.com.pfx&lt;/P&gt;&lt;P&gt;Oct 25 09:24:56.849: CRYPTO_PKI: status = 0x705(E_INPUT_DATA : invalid encoding format for input data): Imported PKCS12 file failure C9800.hello.com.pfx:PKCS #12 Import into trustpoint failed.&lt;BR /&gt;Reason - Failed to import pkcs12 context&lt;BR /&gt;Oct 25 09:24:56.850: %PKI-3-PKCS12_IMPORT_FAILURE: PKCS #12 import failed for trustpoint: C9800.hello.com.pfx. Reason: Failed to import pkcs12 context&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: (A3FE7) Session started - identity selected (TP-self-signed-146588143)xTP-self-signed-146588143:refcount after increment = 1&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Begin local cert chain retrieval.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Done with local cert chain fetch 0.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Begin trustpoint info get.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Successfully got trustpoint info.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: (93FE8) Session started - identity selected (TP-self-signed-146588143)TP-self-signed-146588143:refcount after increment = 2&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Begin local cert chain retrieval.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Done with local cert chain fetch 0.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Rcvd request to end PKI session 93FE8.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: PKI session 93FE8 has ended. Freeing all resources.TP-self-signed-146588143:unlocked trustpoint TP-self-signed-146588143, refcount is 1&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: Rcvd request to end PKI session A3FE7.&lt;BR /&gt;Oct 25 09:24:56.894: CRYPTO_PKI: PKI session A3FE7 has ended. Freeing all resources.TP-self-signed-146588143:unlocked trustpoint TP-self-signed-146588143, refcount is 0&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 09:29:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709303#M247466</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-25T09:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709309#M247467</link>
      <description>&lt;P&gt;PKCS12 and PFX is practically the same.&lt;/P&gt;
&lt;P&gt;How did you do it? I just imported a PFX and it worked as expected:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Under PKI -&amp;gt; Security -&amp;gt; PKI Management -&amp;gt; Add Certificate -&amp;gt; Import PKCS12 the PFX is imported.&lt;/LI&gt;
&lt;LI&gt;Under&amp;nbsp;&lt;SPAN&gt;Administration -&amp;gt; Management -&amp;gt; HTTP/HTTPS/Netconf/VTY the new HTTP Trust Point is selected.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You get logged out and the new certificate is used.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;You can check the PFX with openssl and you&amp;nbsp;&lt;/FONT&gt;shouldn't have any errors there&lt;FONT face="inherit"&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;openssl pkcs12 -info -in cert.pfx&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 09:44:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709309#M247467</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2022-10-25T09:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709347#M247470</link>
      <description>&lt;P&gt;openssl check - all ok&lt;/P&gt;&lt;P&gt;I tried via SCP rather than HTTPS still the same issue. I'm carrying out the same steps as yourself.....wondering if this is a bug?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:09:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709347#M247470</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-25T11:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709360#M247473</link>
      <description>&lt;P&gt;Are you running at least a Cisco suggested version like 17.6.4? When running into problems, upgrading to a suggested version is typically a good idea.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:32:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709360#M247473</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2022-10-25T11:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709377#M247475</link>
      <description>&lt;P&gt;Refer to the below document,&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/213917-generate-csr-for-third-party-certificate.html#anc15" target="_blank"&gt;Generate and Download CSR Certificates on Catalyst 9800 WLCs - Cisco&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:49:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709377#M247475</guid>
      <dc:creator>Arshad Safrulla</dc:creator>
      <dc:date>2022-10-25T11:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709398#M247481</link>
      <description>&lt;P&gt;I'm running:&lt;/P&gt;&lt;P&gt;Cisco IOS XE Software, Version 17.06.04&lt;BR /&gt;Cisco IOS Software [Bengaluru], C9800 Software (C9800_IOSXE-K9), Version 17.6.4, RELEASE SOFTWARE (fc1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 12:39:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709398#M247481</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-25T12:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709400#M247483</link>
      <description>&lt;P&gt;Ok, that is the suggested release. I would open a TAC case then.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 12:44:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4709400#M247483</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2022-10-25T12:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4710431#M247524</link>
      <description>&lt;P&gt;This is almost definitely because your cert package is not as specified in the guidelines&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/465548"&gt;@Arshad Safrulla&lt;/a&gt;&amp;nbsp;linked to.&lt;BR /&gt;Have you included the full certificate chain? (Root + intermediate + WLC cert and key)&lt;BR /&gt;See the section starting "&lt;SPAN&gt;If you run the command&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;openssl pkcs12 -info -in &amp;lt;path to cert&amp;gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and only one certificate with one private key displays, it means the CA is not present. As a rule of thumb, this command ideally lists your whole chain of certificate. It is not required to include the top root CA if it is known by the client browsers already."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 08:54:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4710431#M247524</guid>
      <dc:creator>Rich R</dc:creator>
      <dc:date>2022-10-26T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4710789#M247536</link>
      <description>&lt;P&gt;We only have the certificate and the private key in the pfx&amp;nbsp;&lt;/P&gt;&lt;P&gt;I imported the RootCA and SubCA into PKI Management/Trustpools on the GUI which imported fine. shouldn't this be enough so when the pfx is uploaded C9800 can see the RootCA and SubCA and process the certificate?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 13:31:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4710789#M247536</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-26T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4710882#M247539</link>
      <description>&lt;P&gt;I have opened a TAC&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 14:26:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4710882#M247539</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-26T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4711121#M247544</link>
      <description>&lt;P&gt;No I don't think so.&amp;nbsp; We've only ever had it work with the full chain (no problems with that) and the documentation is clear that at the minimum it should include the intermediate.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:28:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4711121#M247544</guid>
      <dc:creator>Rich R</dc:creator>
      <dc:date>2022-10-26T16:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4712747#M247617</link>
      <description>&lt;P&gt;I combined the RootCA and SubCA, pfx into one pfx. So I now have a full chained Certificate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I was able to import the pfx file successfully, this also added the Chain to the Trustpools, created a new Trustpoint and a new Key Label. However, when I configured HTTP to use my new Trustpoint, HTTP Service restarted and my browser showed "does not have a Certificate-SSL error"!!!! Then had to go to the CLI remove new Trustpoint and configure Cisco Self-signed&amp;nbsp; Trustpoint to regain GUI access............seem to be getting close! Awaiting on TAC response.............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oct 28 08:19:21.833: %PKI-6-TRUSTPOINT_CREATE: Trustpoint: C9800new.pfx created succesfully&lt;BR /&gt;Oct 28 08:19:21.836: %CRYPTO_ENGINE-5-KEY_ADDITION: A key named C9800new.pfx has been generated or imported by pki-pkcs12&lt;BR /&gt;Oct 28 08:19:21.862: %PKI-6-PKCS12_IMPORT_SUCCESS: PKCS #12 import in to trustpoint C9800new.pfx successfully imported.&lt;BR /&gt;Oct 28 08:19:21.899: %SYS-5-CONFIG_P: Configured programmatically by process SEP_webui_wsma_http from console as * on vty1&lt;BR /&gt;Oct 28 08:19:49.509: %SYS-5-CONFIG_P: Configured programmatically by process SEP_webui_wsma_http from console as * on vty1&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 12:42:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4712747#M247617</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-28T12:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4713701#M247710</link>
      <description>&lt;P&gt;Ok, with the TAC Engineer, we tried numerous things, same problem, no cert, like remove Trustpoint, Key label and re-applied etc. We rebooted the wlc and noticed upon reboot, the WLC used the old software version, so I upgraded again to 17.6.4 and rebooted and applied "Commit" after the reboot which I didn't do last time hence the fall back to the old version 17.6.3 (you cannot change the boot statement like on a router/switch rather install same package again, a pain). After all this, we performed a clean on the Trustpools, saved and rebooted the WLC again. Then imported the PKCS12 full chain certificate again, and suddenly everything worked after the HTTPS restart, certificate valid. Surprising, yes! Then on the other new C9800 WLC we did the same, but no reboot. All we did on this WLC was cleaned the Trustpoints, without even importing anything. So what was the problem, a possible bug the TAC thinks............well your guess as good as mine! At least I now have validated Certificates! But getting back to previous posts, yes you should just be able to import the .pfx full chain without any issues at all. My only thinking was that possibly when I imported the 1st time, something with the Trustpools was screwed. Who knows!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 13:36:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4713701#M247710</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-31T13:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4713708#M247711</link>
      <description>&lt;P&gt;Agreed. I suspect that when you imported the certificates separately that got it into some sort of state.&amp;nbsp; Did TAC confirm that the certificate should be full chain or did they say the separate cert approach was supported?&amp;nbsp; If it's not supported that means it's never been tested and therefore could have unpredictable results.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 13:45:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4713708#M247711</guid>
      <dc:creator>Rich R</dc:creator>
      <dc:date>2022-10-31T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4713784#M247716</link>
      <description>&lt;P&gt;Wasn't clear from the TAC Engineer when I asked, I suppose they are checking their knowledge database for answers. I think you might be correct, perhaps this has never been tested and they presume that every customer should have a full chain Cert. Maybe the lab engineers&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1761"&gt;@cisco&lt;/a&gt; didn't communicate well enough with their own Security Engineers. Happens more regularly than we think I would envisage.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 15:45:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4713784#M247716</guid>
      <dc:creator>stephendrkw</dc:creator>
      <dc:date>2022-10-31T15:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4732611#M249186</link>
      <description>&lt;P&gt;I had similar issues with importing a PKCS12 cert and the fix for me was to switch from using OpenSSL v3.1.0 to OpenSSL v1.1.1 on Windows to combine the cert chain PEM file with the private key.&lt;/P&gt;&lt;P&gt;For OpenSSL v3.1.0, I was getting the following log/debug messages when trying to import the cert (the top two messages are "debug crypto pki transaction" logs, the bottom message is just a normal syslog message):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Dec  2 16:50:39.393 CST: CRYPTO_PKI: Copying pkcs12 from bootflash:Anchor-2022.p12
Dec  2 16:50:39.414 CST: CRYPTO_PKI: status = 0x705(E_INPUT_DATA : invalid encoding format for input data): Imported PKCS12 file failure 
Dec  2 16:50:39.415 CST: %PKI-3-PKCS12_IMPORT_FAILURE: PKCS #12 import failed for trustpoint: Anchor-2022.p12. Reason: Failed to import pkcs12 context&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Using OpenSSL v1.1.1 to combine the cert chain and private key into a PKCS12 file allowed me to import the cert with no issues.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 14:37:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4732611#M249186</guid>
      <dc:creator>Scott Plank</dc:creator>
      <dc:date>2022-12-05T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4732962#M249207</link>
      <description>I’m also using OpenSSL 1.x on my Mac and windows VM. So far no issues converting pem to pfx or pfx to encrypted pfx on a bunch of 9800’s.  I didn’t have to reboot or even clean up the trustpool. Just had to login once I applied the new trustpoint to https. &lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2022 06:08:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4732962#M249207</guid>
      <dc:creator>Scott Fella</dc:creator>
      <dc:date>2022-12-06T06:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4797890#M253364</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I had the same issue with openssl 3.0.8 for Windows. Once I used openssl v1.1.1 I could import the .pfx-file without errors.&lt;/P&gt;
&lt;P&gt;Thanks for sharing this post.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 13:24:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4797890#M253364</guid>
      <dc:creator>uniemeyer</dc:creator>
      <dc:date>2023-03-20T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: WLC C9800 - Unable to import pfx Certificate</title>
      <link>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4821662#M255004</link>
      <description>&lt;P&gt;Hi -&lt;/P&gt;
&lt;P&gt;This is possible in OpenSSL 3.x.&amp;nbsp; You must use the -legacy parameter in your command.&amp;nbsp; If you are running OpenSSL on Windows, then you will also need to use -provider-path &amp;lt;path to legacy.dll&amp;gt;.&amp;nbsp; For OpenSSL 3 for Win64, the command would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;openssl pkcs12 -export -in &amp;lt;cert-chain&amp;gt;.pem -inkey &amp;lt;key-pair&amp;gt;.key -out &amp;lt;hostname&amp;gt;.pfx -macalg SHA1 -legacy -provider-path "c:\Program Files\OpenSSL-Win64\bin"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that Cisco hasn't updated the underlying OpenSSL code in IOS-XE, which is ridiculous.&amp;nbsp; The notes section of the OpenSSL docs indicate why -legacy exists.&amp;nbsp;&lt;A title="OpenSSL Docs" href="https://www.openssl.org/docs/man3.0/man1/openssl-pkcs12.html" target="_blank" rel="noopener"&gt;https://www.openssl.org/docs/man3.0/man1/openssl-pkcs12.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Luck!&lt;/P&gt;
&lt;P&gt;PSC&lt;/P&gt;
&lt;P&gt;NOTE: Minor edit. Added `-macalg SHA1` which fixes the first error you would get (&lt;A href="https://quickview.cloudapps.cisco.com/quickview/bug/CSCvz41428" target="_self"&gt;BugID CSCvz41428&lt;/A&gt;). The 0x705 error which you will get after solving the first will bring you here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;crypto_pki: status = 0x760(e_digest_alg_not_supported : message digest algorithms not supported): imported pkcs12 file failure&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 13:19:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/wlc-c9800-unable-to-import-pfx-certificate/m-p/4821662#M255004</guid>
      <dc:creator>Paul Chapman</dc:creator>
      <dc:date>2023-04-26T13:19:40Z</dc:date>
    </item>
  </channel>
</rss>

