<?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 PEM or DER Format certificate chain in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384240#M134300</link>
    <description>&lt;P&gt;I have installe an ISE 1.2.0.899. It is used for Guest Services only, the customer require all its employees be able to access the sponsor portal and validated their credentials using LDAPS. Not LDAP, not AD feature in ISE. The problem is because in order to enable LDAPS I must upload to ISE the root CA certificate, the customer is not providing the root CA certificate for security reasons (?); they said the certificate chain should be enough. Even the ISE user guide indicates root CA or certificate chain. So, the customer downloaded the certificate chain from its PKI (Microsoft 2008) and give it to me, but it is in .p7b (PKCS#7) format (they said there is no choice to select another format). This format is not supported by ISE, so I needed to use third party tools to convert the file (&lt;A href="http://www.sslshopper.com" target="_blank"&gt;www.sslshopper.com&lt;/A&gt; and openssl). It appears the convertion is successfull but when I try to upload on ISE Certificate Store always I get the same errror: &lt;SPAN style="font-size: 10pt;"&gt;"Unable to read certificate file - please be sure file is in PEM or DER format".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the questions are:&lt;/P&gt;&lt;P&gt;1. Is the file provided by the PKI in p7b format always?&lt;/P&gt;&lt;P&gt;2. What should be the most proper way to convert the file to something the ISE can understand?&lt;/P&gt;&lt;P&gt;3. Should be the root CA certificate a vey best option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even the conversion problems indicated above, I tried to open and convert the file using the mmc. I know the certificate chain has three files, I recovered them and uploaded to ISE. Whit two of these three files selected on LDAPS security configuration I can run the "Test bind to Server" successfully but everytime an user try with its own credentials always the access is denied with "invalid username or password" error.&lt;/P&gt;&lt;P&gt;Locking in the ISE log I found this messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,LdapSslConnectionContext::checkCryptoResult(id = 634): error message = SSL alert: code=0x230=560 ; source=local ; type=fatal ; message="Unknown CA - error unable to get issuer certificate locally",LdapSslConnectionContext.cpp:226&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,LdapConnectionBindingState::onInput(id = 634): bind ended with an error: 117,LdapConnectionStates.cpp:396&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;631,WARN ,0x2b263618c940,NIL-CONTEXT,Crypto::Result=1, Crypto.SSLConnection.pvClientInfoCB - Alert raised: code=0x230=560, where=0x4008=16392, source=local,SSLConnection.cpp:2765&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARN ,0x2b263618c940,NIL-CONTEXT,Crypto::Result=102, Crypto.SSLConnection.writeData - failed write the data,SSLConnection.cpp:970&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,LdapSslConnectionContext::checkCryptoResult(id = 634): crypto result = 102,LdapSslConnectionContext.cpp:202&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,cntx=0000005789,user=tmxedscalcan,LdapServer::onAcquireConnectionResponse: failed to acquire connection,LdapServer.cpp:461&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263436e940,NIL-CONTEXT,[ActiveDirectoryClient::openCdcConnection] Can't open CDC session due to error 32: ADClient is not running,ActiveDirectoryClient.cpp:1328&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263436e940,NIL-CONTEXT,[ActiveDirectoryClient::connectClient] AD CDC client connection failed!,ActiveDirectoryClient.cpp:117&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263436e940,NIL-CONTEXT,ActiveDirectoryIDStore::performConnection - Connecting client failed,ActiveDirectoryIDStore.cpp:608&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have idea what do they mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone told me the convertion made with mmc on my pc was an error and I need to repeat the same process using administrative tools on a server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really confused and I don't know how continue with a troubleshoot process.&lt;/P&gt;&lt;P&gt;How can I know the original file is correct?&lt;/P&gt;&lt;P&gt;How can I know the conversion is correct?&lt;/P&gt;&lt;P&gt;As the original chain includes three certificates, I should upload them to ISE separately or as one file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the Sponsor policy screenshoot. I have two rules with the same conditions one por AD (just for test), one for LDAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate your help&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Daniel Escalante&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 04:04:53 GMT</pubDate>
    <dc:creator>descalante2007</dc:creator>
    <dc:date>2019-03-11T04:04:53Z</dc:date>
    <item>
      <title>PEM or DER Format certificate chain</title>
      <link>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384240#M134300</link>
      <description>&lt;P&gt;I have installe an ISE 1.2.0.899. It is used for Guest Services only, the customer require all its employees be able to access the sponsor portal and validated their credentials using LDAPS. Not LDAP, not AD feature in ISE. The problem is because in order to enable LDAPS I must upload to ISE the root CA certificate, the customer is not providing the root CA certificate for security reasons (?); they said the certificate chain should be enough. Even the ISE user guide indicates root CA or certificate chain. So, the customer downloaded the certificate chain from its PKI (Microsoft 2008) and give it to me, but it is in .p7b (PKCS#7) format (they said there is no choice to select another format). This format is not supported by ISE, so I needed to use third party tools to convert the file (&lt;A href="http://www.sslshopper.com" target="_blank"&gt;www.sslshopper.com&lt;/A&gt; and openssl). It appears the convertion is successfull but when I try to upload on ISE Certificate Store always I get the same errror: &lt;SPAN style="font-size: 10pt;"&gt;"Unable to read certificate file - please be sure file is in PEM or DER format".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the questions are:&lt;/P&gt;&lt;P&gt;1. Is the file provided by the PKI in p7b format always?&lt;/P&gt;&lt;P&gt;2. What should be the most proper way to convert the file to something the ISE can understand?&lt;/P&gt;&lt;P&gt;3. Should be the root CA certificate a vey best option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even the conversion problems indicated above, I tried to open and convert the file using the mmc. I know the certificate chain has three files, I recovered them and uploaded to ISE. Whit two of these three files selected on LDAPS security configuration I can run the "Test bind to Server" successfully but everytime an user try with its own credentials always the access is denied with "invalid username or password" error.&lt;/P&gt;&lt;P&gt;Locking in the ISE log I found this messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,LdapSslConnectionContext::checkCryptoResult(id = 634): error message = SSL alert: code=0x230=560 ; source=local ; type=fatal ; message="Unknown CA - error unable to get issuer certificate locally",LdapSslConnectionContext.cpp:226&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,LdapConnectionBindingState::onInput(id = 634): bind ended with an error: 117,LdapConnectionStates.cpp:396&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;631,WARN ,0x2b263618c940,NIL-CONTEXT,Crypto::Result=1, Crypto.SSLConnection.pvClientInfoCB - Alert raised: code=0x230=560, where=0x4008=16392, source=local,SSLConnection.cpp:2765&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARN ,0x2b263618c940,NIL-CONTEXT,Crypto::Result=102, Crypto.SSLConnection.writeData - failed write the data,SSLConnection.cpp:970&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,LdapSslConnectionContext::checkCryptoResult(id = 634): crypto result = 102,LdapSslConnectionContext.cpp:202&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263618c940,cntx=0000005789,user=tmxedscalcan,LdapServer::onAcquireConnectionResponse: failed to acquire connection,LdapServer.cpp:461&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263436e940,NIL-CONTEXT,[ActiveDirectoryClient::openCdcConnection] Can't open CDC session due to error 32: ADClient is not running,ActiveDirectoryClient.cpp:1328&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263436e940,NIL-CONTEXT,[ActiveDirectoryClient::connectClient] AD CDC client connection failed!,ActiveDirectoryClient.cpp:117&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR,0x2b263436e940,NIL-CONTEXT,ActiveDirectoryIDStore::performConnection - Connecting client failed,ActiveDirectoryIDStore.cpp:608&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have idea what do they mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone told me the convertion made with mmc on my pc was an error and I need to repeat the same process using administrative tools on a server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really confused and I don't know how continue with a troubleshoot process.&lt;/P&gt;&lt;P&gt;How can I know the original file is correct?&lt;/P&gt;&lt;P&gt;How can I know the conversion is correct?&lt;/P&gt;&lt;P&gt;As the original chain includes three certificates, I should upload them to ISE separately or as one file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the Sponsor policy screenshoot. I have two rules with the same conditions one por AD (just for test), one for LDAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate your help&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Daniel Escalante&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 04:04:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384240#M134300</guid>
      <dc:creator>descalante2007</dc:creator>
      <dc:date>2019-03-11T04:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: PEM or DER Format certificate chain</title>
      <link>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384241#M134303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you open the .p7b file on a Windows machine. (Open not install)&lt;/P&gt;&lt;P&gt;Go to the Certification Path and click on the root certificate, click View Certificate.&lt;/P&gt;&lt;P&gt;Now you have the root certificate. &lt;/P&gt;&lt;P&gt;Go to Details and click Copy to File. This give you the option to exprot the root cert.&lt;/P&gt;&lt;P&gt;Click next, here you can select to save as Base-64 encoded (DER) that you can import in ISE.&lt;/P&gt;&lt;P&gt;Click next and save. Then try to import under Server certifiactes on ISE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this for sub-CA cert in the chain as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 11:27:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384241#M134303</guid>
      <dc:creator>Mikael Gustafsson</dc:creator>
      <dc:date>2013-11-10T11:27:27Z</dc:date>
    </item>
    <item>
      <title>PEM or DER Format certificate chain</title>
      <link>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384242#M134326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mikael:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Up to now all my test are being satisfactory.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 22:42:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pem-or-der-format-certificate-chain/m-p/2384242#M134326</guid>
      <dc:creator>descalante2007</dc:creator>
      <dc:date>2013-11-11T22:42:48Z</dc:date>
    </item>
  </channel>
</rss>

