<?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: CUBE IOS XE - cannot import signed certificate in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4732973#M1095664</link>
    <description>&lt;P&gt;hello&lt;BR /&gt;I have a similar symptom, could you please share the procedure for handling it?&lt;BR /&gt;Please also ask for the command.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 06:40:26 GMT</pubDate>
    <dc:creator>lkbge7549</dc:creator>
    <dc:date>2022-12-06T06:40:26Z</dc:date>
    <item>
      <title>CUBE IOS XE - cannot import signed certificate</title>
      <link>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4568632#M1088156</link>
      <description>&lt;P&gt;I am currently trying to set up RESTCONF on one of my lab CUBEs. For this i need the HTTPS server, and for that i needed a valid certificate on the router.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cisco IOS XE Software, Version 17.03.04a&lt;/P&gt;&lt;P&gt;bootflash:isr4300-universalk9.17.03.04a.SPA.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i creater a Trustpoint for the router on the router and generated a CSR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hh-srst-cube(config)#crypto pki trustpoint hh-srst-cube
hh-srst-cube(ca-trustpoint)#enrollment terminal pem
hh-srst-cube(ca-trustpoint)#serial-number none
hh-srst-cube(ca-trustpoint)#fqdn none
hh-srst-cube(ca-trustpoint)#ip-address none
hh-srst-cube(ca-trustpoint)#subject-name CN=hh-srst-cube.*******.com, C=DE, ST=Hamburg, L=Hamburg, O="********", OU=Services
hh-srst-cube(ca-trustpoint)#revocation-check none
hh-srst-cube(ca-trustpoint)#rsakeypair hh-srst-cube
hh-srst-cube(ca-trustpoint)#exit
hh-srst-cube(config)#crypto pki authenticate hh-srst-cube&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All fine. I got the CSR and had it signed with our CA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then i created a trustpoint for our root and intermediate CA:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;hh-srst-cube(config)#crypto pki trustpoint hh_root
hh-srst-cube(ca-trustpoint)#enrollment terminal pem
hh-srst-cube(ca-trustpoint)#revocation-check none
hh-srst-cube(ca-trustpoint)#exit
hh-srst-cube(config)#crypto pki authenticate hh_root&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Root was fine. No errors. Fingerprint matched.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hh-srst-cube(config)#crypto pki trustpoint hh_intermediate
hh-srst-cube(ca-trustpoint)#enrollment terminal pem
hh-srst-cube(ca-trustpoint)#revocation-check none
hh-srst-cube(ca-trustpoint)#exit
hh-srst-cube(config)#crypto pki authenticate hh_intermediate&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Intermediate worked fine, fingerprint matched, didnt need confirmation as it matched with the already created root trustpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So then finally i wanted to import the signed certificate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hh-srst-cube(config)#crypto pki import hh-srst-cube certificate
% You must authenticate the Certificate Authority before
 you can import the router's certificate.&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;What did i do wrong? I tried setting the Root or Intermediate Trustpoint as Primary. Nothing helped. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 09:17:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4568632#M1088156</guid>
      <dc:creator>pescla</dc:creator>
      <dc:date>2022-03-11T09:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: CUBE IOS XE - cannot import signed certificate</title>
      <link>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4568674#M1088158</link>
      <description>&lt;P&gt;As always, i found my mistake just now after asking:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot to authenticate the intermediate CA (which issues the CUBE Cert) on the CUBE trustpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i had to do a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;crypto pki authenticate hh-srst-cube&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and paste the certificate of hh_intermediate.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 10:19:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4568674#M1088158</guid>
      <dc:creator>pescla</dc:creator>
      <dc:date>2022-03-11T10:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: CUBE IOS XE - cannot import signed certificate</title>
      <link>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4732973#M1095664</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;I have a similar symptom, could you please share the procedure for handling it?&lt;BR /&gt;Please also ask for the command.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 06:40:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cube-ios-xe-cannot-import-signed-certificate/m-p/4732973#M1095664</guid>
      <dc:creator>lkbge7549</dc:creator>
      <dc:date>2022-12-06T06:40:26Z</dc:date>
    </item>
  </channel>
</rss>

