<?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 ISE pxgrid java sample client session_download - struggling as always ;) in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3698669#M507866</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;I've did it already multiple times and almost always i have to spend hours again to re-learn how to do it correctly.&lt;/P&gt;
&lt;P&gt;ISE, just one node, pxgrid certificate generated (as all other ISE node certs) is signed by Microsoft NDES. pxgrid enabled - i have working integration with FMC, WSA - all of that is fine.&lt;/P&gt;
&lt;P&gt;Now i have downloaded pxgrid-sdk-2.0.0.14 to run few samples. Configured both jks: self and trusted (and put in self.jks my own client pkcs12 + ca + mnt +pxgrid and put in trusted pxgrid+mnt+ca certs).&lt;/P&gt;
&lt;P&gt;Now when running:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@ubuntu:~/scripts/pxgrid/pxgrid-sdk-2.0.0.14/samples/bin# ./session_download.sh -a 192.168.1.117 -k self1.jks -p Krakow123 -t root1.jks -q Krakow123 -u ise_internal_test&lt;BR /&gt;------- properties -------&lt;BR /&gt;&amp;nbsp; version=2.0.0.14&lt;BR /&gt;&amp;nbsp; hostnames=192.168.1.117&lt;BR /&gt;&amp;nbsp; username=ise_internal_test&lt;BR /&gt;&amp;nbsp; password=&lt;BR /&gt;&amp;nbsp; group=Session&lt;BR /&gt;&amp;nbsp; description=null&lt;BR /&gt;&amp;nbsp; keystoreFilename=self1.jks&lt;BR /&gt;&amp;nbsp; keystorePassword=Krakow123&lt;BR /&gt;&amp;nbsp; truststoreFilename=root1.jks&lt;BR /&gt;&amp;nbsp; truststorePassword=Krakow123&lt;BR /&gt;--------------------------&lt;BR /&gt;Connecting...&lt;BR /&gt;13:47:53.865 [main] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connecting to host 192.168.1.117&lt;BR /&gt;13:47:54.394 [main] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connected OK to host 192.168.1.117&lt;BR /&gt;13:47:54.394 [main] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Client Login to host 192.168.1.117&lt;BR /&gt;Exception in thread "main" com.cisco.pxgrid.GCLException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.GridConnection.connect(GridConnection.java:210)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.samples.ise.SampleHelper.connect(SampleHelper.java:231)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.samples.ise.SessionDownload.main(SessionDownload.java:110)&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.internal.smack.CustomSASLExternalMechanism.getAuthenticationText(CustomSASLExternalMechanism.java:50)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:196)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:190)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.tcp.MyXMPPTCPConnection.loginNonAnonymously(MyXMPPTCPConnection.java:355)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:457)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:415)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.Configuration.connect(Configuration.java:344)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.GridConnection.connect(GridConnection.java:129)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 2 more&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the packet captures i do see connection to node port 5222, SSL session negotiated correctly, Application (encrypted data exchange) in several packets and the the client disconnects. It looks like application issue: xmpp SASL authentication failing because of some reason.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run all trace debugs for pxgrid* but after 1h of reading of those debugs gave up.&lt;/P&gt;
&lt;P&gt;I have also executed:&lt;/P&gt;
&lt;P&gt;root@ubuntu:~/scripts/pxgrid/pxgrid-sdk-2.0.0.14/samples/bin# ./create_account.sh -a 192.168.1.117 -k self1.jks -p Krakow123 -t root1.jks -q Krakow123 -u ise_internal_test&lt;BR /&gt;------- properties -------&lt;BR /&gt;&amp;nbsp; version=2.0.0.14&lt;BR /&gt;&amp;nbsp; hostnames=192.168.1.117&lt;BR /&gt;&amp;nbsp; username=ise_internal_test&lt;BR /&gt;&amp;nbsp; password=&lt;BR /&gt;&amp;nbsp; group=Session&lt;BR /&gt;&amp;nbsp; description=null&lt;BR /&gt;&amp;nbsp; keystoreFilename=self1.jks&lt;BR /&gt;&amp;nbsp; keystorePassword=Krakow123&lt;BR /&gt;&amp;nbsp; truststoreFilename=root1.jks&lt;BR /&gt;&amp;nbsp; truststorePassword=Krakow123&lt;BR /&gt;--------------------------&lt;BR /&gt;HTTP status=OK&lt;BR /&gt;password: AewIrAsP1OnGPgVS&lt;/P&gt;
&lt;P&gt;But after this i still do not see ise_internal_test in ISE GUI pxgrid clients (i have autoapproval for password based clients). (i guess that is for password based authentication -&amp;gt; are there any samples showing how to use it ? in REAME this script is not mentioned).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have also tried this:&lt;/P&gt;
&lt;P&gt;root@ubuntu:~/scripts/pxgrid/pxgrid-sdk-2.0.0.14/samples/bin# ./session_subscribe.sh -a 192.168.1.117 -k self1.jks -p Krakow123 -t root1.jk-q Krakow123 -u ise_internal_test -w AewIrAsP1OnGPgVS&lt;BR /&gt;------- properties -------&lt;BR /&gt;&amp;nbsp; version=2.0.0.14&lt;BR /&gt;&amp;nbsp; hostnames=192.168.1.117&lt;BR /&gt;&amp;nbsp; username=ise_internal_test&lt;BR /&gt;&amp;nbsp; password=AewIrAsP1OnGPgVS&lt;BR /&gt;&amp;nbsp; group=Session&lt;BR /&gt;&amp;nbsp; description=null&lt;BR /&gt;&amp;nbsp; keystoreFilename=self1.jks&lt;BR /&gt;&amp;nbsp; keystorePassword=Krakow123&lt;BR /&gt;&amp;nbsp; truststoreFilename=root1.jks&lt;BR /&gt;&amp;nbsp; truststorePassword=Krakow123&lt;BR /&gt;--------------------------&lt;BR /&gt;14:13:58.930 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.ReconnectionManager - Started&lt;BR /&gt;Connecting...&lt;BR /&gt;14:13:58.999 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connecting to host 192.168.1.117&lt;BR /&gt;14:13:59.762 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connected OK to host 192.168.1.117&lt;BR /&gt;14:13:59.762 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Client Login to host 192.168.1.117&lt;BR /&gt;14:13:59.764 [Thread-1] ERROR com.cisco.pxgrid.ReconnectionManager - Retry connect failed null&lt;/P&gt;
&lt;P&gt;Client returns this serious error, application is still running, packet captures show just correct xmpp session:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-08-31 at 14.15.18.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/17881i2B0A7A1E084DB4FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-08-31 at 14.15.18.png" alt="Screen Shot 2018-08-31 at 14.15.18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When the new session arrives on MNT i do not receive anything but just see connection retries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to make it working ? Why SASL is failing ? Any other well defined restrictions ? Like specific SAN fields in certs ?&lt;/P&gt;
&lt;P&gt;I know that i could use self signed certificates to make it simple - but i am not allowed.&lt;/P&gt;
&lt;P&gt;Both ise pxgrid and client cert do have right EKU (client+server).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michal&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, 31 Aug 2018 12:23:19 GMT</pubDate>
    <dc:creator>Michal Garcarz</dc:creator>
    <dc:date>2018-08-31T12:23:19Z</dc:date>
    <item>
      <title>ISE pxgrid java sample client session_download - struggling as always ;)</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3698669#M507866</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;I've did it already multiple times and almost always i have to spend hours again to re-learn how to do it correctly.&lt;/P&gt;
&lt;P&gt;ISE, just one node, pxgrid certificate generated (as all other ISE node certs) is signed by Microsoft NDES. pxgrid enabled - i have working integration with FMC, WSA - all of that is fine.&lt;/P&gt;
&lt;P&gt;Now i have downloaded pxgrid-sdk-2.0.0.14 to run few samples. Configured both jks: self and trusted (and put in self.jks my own client pkcs12 + ca + mnt +pxgrid and put in trusted pxgrid+mnt+ca certs).&lt;/P&gt;
&lt;P&gt;Now when running:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@ubuntu:~/scripts/pxgrid/pxgrid-sdk-2.0.0.14/samples/bin# ./session_download.sh -a 192.168.1.117 -k self1.jks -p Krakow123 -t root1.jks -q Krakow123 -u ise_internal_test&lt;BR /&gt;------- properties -------&lt;BR /&gt;&amp;nbsp; version=2.0.0.14&lt;BR /&gt;&amp;nbsp; hostnames=192.168.1.117&lt;BR /&gt;&amp;nbsp; username=ise_internal_test&lt;BR /&gt;&amp;nbsp; password=&lt;BR /&gt;&amp;nbsp; group=Session&lt;BR /&gt;&amp;nbsp; description=null&lt;BR /&gt;&amp;nbsp; keystoreFilename=self1.jks&lt;BR /&gt;&amp;nbsp; keystorePassword=Krakow123&lt;BR /&gt;&amp;nbsp; truststoreFilename=root1.jks&lt;BR /&gt;&amp;nbsp; truststorePassword=Krakow123&lt;BR /&gt;--------------------------&lt;BR /&gt;Connecting...&lt;BR /&gt;13:47:53.865 [main] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connecting to host 192.168.1.117&lt;BR /&gt;13:47:54.394 [main] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connected OK to host 192.168.1.117&lt;BR /&gt;13:47:54.394 [main] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Client Login to host 192.168.1.117&lt;BR /&gt;Exception in thread "main" com.cisco.pxgrid.GCLException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.GridConnection.connect(GridConnection.java:210)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.samples.ise.SampleHelper.connect(SampleHelper.java:231)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.samples.ise.SessionDownload.main(SessionDownload.java:110)&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.internal.smack.CustomSASLExternalMechanism.getAuthenticationText(CustomSASLExternalMechanism.java:50)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:196)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:190)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.tcp.MyXMPPTCPConnection.loginNonAnonymously(MyXMPPTCPConnection.java:355)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:457)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:415)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.Configuration.connect(Configuration.java:344)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cisco.pxgrid.GridConnection.connect(GridConnection.java:129)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 2 more&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the packet captures i do see connection to node port 5222, SSL session negotiated correctly, Application (encrypted data exchange) in several packets and the the client disconnects. It looks like application issue: xmpp SASL authentication failing because of some reason.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run all trace debugs for pxgrid* but after 1h of reading of those debugs gave up.&lt;/P&gt;
&lt;P&gt;I have also executed:&lt;/P&gt;
&lt;P&gt;root@ubuntu:~/scripts/pxgrid/pxgrid-sdk-2.0.0.14/samples/bin# ./create_account.sh -a 192.168.1.117 -k self1.jks -p Krakow123 -t root1.jks -q Krakow123 -u ise_internal_test&lt;BR /&gt;------- properties -------&lt;BR /&gt;&amp;nbsp; version=2.0.0.14&lt;BR /&gt;&amp;nbsp; hostnames=192.168.1.117&lt;BR /&gt;&amp;nbsp; username=ise_internal_test&lt;BR /&gt;&amp;nbsp; password=&lt;BR /&gt;&amp;nbsp; group=Session&lt;BR /&gt;&amp;nbsp; description=null&lt;BR /&gt;&amp;nbsp; keystoreFilename=self1.jks&lt;BR /&gt;&amp;nbsp; keystorePassword=Krakow123&lt;BR /&gt;&amp;nbsp; truststoreFilename=root1.jks&lt;BR /&gt;&amp;nbsp; truststorePassword=Krakow123&lt;BR /&gt;--------------------------&lt;BR /&gt;HTTP status=OK&lt;BR /&gt;password: AewIrAsP1OnGPgVS&lt;/P&gt;
&lt;P&gt;But after this i still do not see ise_internal_test in ISE GUI pxgrid clients (i have autoapproval for password based clients). (i guess that is for password based authentication -&amp;gt; are there any samples showing how to use it ? in REAME this script is not mentioned).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have also tried this:&lt;/P&gt;
&lt;P&gt;root@ubuntu:~/scripts/pxgrid/pxgrid-sdk-2.0.0.14/samples/bin# ./session_subscribe.sh -a 192.168.1.117 -k self1.jks -p Krakow123 -t root1.jk-q Krakow123 -u ise_internal_test -w AewIrAsP1OnGPgVS&lt;BR /&gt;------- properties -------&lt;BR /&gt;&amp;nbsp; version=2.0.0.14&lt;BR /&gt;&amp;nbsp; hostnames=192.168.1.117&lt;BR /&gt;&amp;nbsp; username=ise_internal_test&lt;BR /&gt;&amp;nbsp; password=AewIrAsP1OnGPgVS&lt;BR /&gt;&amp;nbsp; group=Session&lt;BR /&gt;&amp;nbsp; description=null&lt;BR /&gt;&amp;nbsp; keystoreFilename=self1.jks&lt;BR /&gt;&amp;nbsp; keystorePassword=Krakow123&lt;BR /&gt;&amp;nbsp; truststoreFilename=root1.jks&lt;BR /&gt;&amp;nbsp; truststorePassword=Krakow123&lt;BR /&gt;--------------------------&lt;BR /&gt;14:13:58.930 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.ReconnectionManager - Started&lt;BR /&gt;Connecting...&lt;BR /&gt;14:13:58.999 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connecting to host 192.168.1.117&lt;BR /&gt;14:13:59.762 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Connected OK to host 192.168.1.117&lt;BR /&gt;14:13:59.762 [Thread-1] INFO&amp;nbsp; com.cisco.pxgrid.Configuration - Client Login to host 192.168.1.117&lt;BR /&gt;14:13:59.764 [Thread-1] ERROR com.cisco.pxgrid.ReconnectionManager - Retry connect failed null&lt;/P&gt;
&lt;P&gt;Client returns this serious error, application is still running, packet captures show just correct xmpp session:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-08-31 at 14.15.18.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/17881i2B0A7A1E084DB4FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-08-31 at 14.15.18.png" alt="Screen Shot 2018-08-31 at 14.15.18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When the new session arrives on MNT i do not receive anything but just see connection retries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to make it working ? Why SASL is failing ? Any other well defined restrictions ? Like specific SAN fields in certs ?&lt;/P&gt;
&lt;P&gt;I know that i could use self signed certificates to make it simple - but i am not allowed.&lt;/P&gt;
&lt;P&gt;Both ise pxgrid and client cert do have right EKU (client+server).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michal&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, 31 Aug 2018 12:23:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3698669#M507866</guid>
      <dc:creator>Michal Garcarz</dc:creator>
      <dc:date>2018-08-31T12:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: ISE pxgrid java sample client session_download - struggling as always ;)</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3699459#M507870</link>
      <description>&lt;P&gt;Following &lt;A href="https://community.cisco.com/t5/security-documents/deploying-certificates-with-cisco-pxgrid-using-an-external/ta-p/3639677" target="_blank"&gt;Deploying Certificates with Cisco pxGrid - Using External CA with updates to Cisco ISE 2.0/2.1/2.2&lt;/A&gt;,&amp;nbsp;I downloaded the same pxgrid-sdk-2.0.0.14-dist.tar.gz from &lt;A href="https://developer.cisco.com/site/pxgrid/" target="_blank"&gt;Cisco Platform Exchange Grid (pxGrid)&lt;/A&gt;&amp;nbsp;at DevNet, had MS 2008R2 CA to issue both the pxGrid certificate for the SDK sample and the standalone ISE&amp;nbsp;(2.4 w/o or w/ Patch 2), but all (at least those I tried) worked OK&amp;nbsp;for me.&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ ./session_subscribe.sh -u pxgrid-test-p1 -w hrqzb9azuv09sOut -a 10.1.100.240 -k pxgrid-test.jks -p &lt;SPAN&gt;myKeyPass&lt;/SPAN&gt; -t root.jks -q &lt;SPAN&gt;myTrustPass&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;------- properties -------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; version=2.0.0.14&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; hostnames=10.1.100.240&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; username=pxgrid-test-p1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; password=hrqzb9azuv09sOut&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; group=Session&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; description=null&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; keystoreFilename=pxgrid-test.jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; keystorePassword=myKeyPass&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; truststoreFilename=root.jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; truststorePassword=myTrustPass&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;--------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:29:17.698 [Thread-1] INFO com.cisco.pxgrid.ReconnectionManager - Started&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Connecting...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:29:17.714 [Thread-1] INFO com.cisco.pxgrid.Configuration - Connecting to host 10.1.100.240&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:29:17.851 [Thread-1] INFO com.cisco.pxgrid.Configuration - Connected OK to host 10.1.100.240&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:29:17.851 [Thread-1] INFO com.cisco.pxgrid.Configuration - Client Login to host 10.1.100.240&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:29:17.886 [Thread-1] INFO com.cisco.pxgrid.Configuration - Client Login OK to host 10.1.100.240&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:29:18.730 [Thread-1] INFO c.c.p.i.s.NotificationHandlerSmack - done refreshing connection state.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Connected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Filters (ex. '1.0.0.0/255.0.0.0,1234::/16,...' or &amp;lt;enter&amp;gt; for no filter): 17:29:18.730 [Thread-1] INFO com.cisco.pxgrid.ReconnectionManager - Connected&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;After I disabled the client in ISE pxGrid page, I got SASLErrorException with a clear message upon re-connect.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;17:41:17.150 [Thread-1] INFO com.cisco.pxgrid.Configuration - Client Login to host 10.1.100.240&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;org.jivesoftware.smack.sasl.SASLErrorException: &lt;FONT color="#800000"&gt;&lt;STRONG&gt;SASLError using PLAIN: not-authorized&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:365)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; at org.jivesoftware.smack.tcp.MyXMPPTCPConnection$PacketReader.parsePackets(MyXMPPTCPConnection.java:1021)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; at org.jivesoftware.smack.tcp.MyXMPPTCPConnection$PacketReader.access$200(MyXMPPTCPConnection.java:925)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; at org.jivesoftware.smack.tcp.MyXMPPTCPConnection$PacketReader$1.run(MyXMPPTCPConnection.java:940)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; at java.lang.Thread.run(Thread.java:748)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;If you are still stuck, you would likely need&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/55921"&gt;@jeppich&lt;/a&gt;&amp;nbsp;to take a look.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 00:44:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3699459#M507870</guid>
      <dc:creator>hslai</dc:creator>
      <dc:date>2018-09-03T00:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: ISE pxgrid java sample client session_download - struggling as always ;)</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3699461#M507872</link>
      <description>&lt;P&gt;Hey Michal,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try a different version of java on Ubuntu.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Java Development Kit 7 was required with pxGrid 1.0.x SDK. &amp;nbsp;Please check If you have this installed. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do, please try a later version and see if this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;jeppich@cisco.com&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;
&lt;P&gt;&amp;nbsp;&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>Mon, 03 Sep 2018 00:48:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3699461#M507872</guid>
      <dc:creator>jeppich</dc:creator>
      <dc:date>2018-09-03T00:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: ISE pxgrid java sample client session_download - struggling as always ;)</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3699505#M507873</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for help here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/113005"&gt;@hslai&lt;/a&gt; - i use the same version of sdk: 2.0.0.14, certs signed by NDES 2012, comparing your logs to my: i can not even "login" with my pxgrid client, the client does not appear in pxgrid client tab in ISE.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/55921"&gt;@jeppich&lt;/a&gt; - i have tested several versions of java, two openjdk (8,9) and oracle(8):&lt;/P&gt;
&lt;P&gt;root@ubuntu:~# update-java-alternatives --list&lt;BR /&gt;java-1.8.0-openjdk-amd64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1081&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/lib/jvm/java-1.8.0-openjdk-amd64&lt;BR /&gt;java-1.9.0-openjdk-amd64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1091&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/lib/jvm/java-1.9.0-openjdk-amd64&lt;BR /&gt;java-8-oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1081&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/lib/jvm/java-8-oracle&lt;/P&gt;
&lt;P&gt;And for all 3 versions java errors are exactly the same.&lt;/P&gt;
&lt;P&gt;The only big difference is ISE version: i am using 2.3p3.&lt;/P&gt;
&lt;P&gt;I am preparing a new environment with 2.4 - will let you know if that works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michal&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 05:58:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-pxgrid-java-sample-client-session-download-struggling-as/m-p/3699505#M507873</guid>
      <dc:creator>Michal Garcarz</dc:creator>
      <dc:date>2018-09-03T05:58:05Z</dc:date>
    </item>
  </channel>
</rss>

