<?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 SDK JAVA Connection  issues -- unable to find valid certification path to requested target in Security</title>
    <link>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42150#M1409</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;// Log in using a basic authorization header
        // Note: Do not call the Service.login method
        Service service = new Service("xyz.xyz.xyz.xyz", 8089);
        String credentials = "username:password";
        String basicAuthHeader = Base64.encode(credentials.getBytes());
        service.setToken("Basic " + basicAuthHeader);
        // Print the session token
        System.out.println("Your session token: " + service.getToken());
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Getting exception this LINE&lt;BR /&gt;
// Create the job&lt;BR /&gt;
            InputStream exportStream = service.export(mySearch, jobArgs);&lt;/P&gt;

&lt;P&gt;java.lang.RuntimeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;BR /&gt;
    at com.splunk.HttpService.send(HttpService.java:326)&lt;BR /&gt;
    at com.splunk.Service.send(Service.java:1211)&lt;BR /&gt;
    at com.splunk.HttpService.get(HttpService.java:130)&lt;BR /&gt;
    at com.splunk.Service.export(Service.java:196)&lt;BR /&gt;
    at com.splunk.Service.export(Service.java:211)&lt;BR /&gt;
    at &lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2013 19:32:17 GMT</pubDate>
    <dc:creator>dshah2</dc:creator>
    <dc:date>2013-08-21T19:32:17Z</dc:date>
    <item>
      <title>SDK JAVA Connection  issues -- unable to find valid certification path to requested target</title>
      <link>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42150#M1409</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;// Log in using a basic authorization header
        // Note: Do not call the Service.login method
        Service service = new Service("xyz.xyz.xyz.xyz", 8089);
        String credentials = "username:password";
        String basicAuthHeader = Base64.encode(credentials.getBytes());
        service.setToken("Basic " + basicAuthHeader);
        // Print the session token
        System.out.println("Your session token: " + service.getToken());
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Getting exception this LINE&lt;BR /&gt;
// Create the job&lt;BR /&gt;
            InputStream exportStream = service.export(mySearch, jobArgs);&lt;/P&gt;

&lt;P&gt;java.lang.RuntimeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;BR /&gt;
    at com.splunk.HttpService.send(HttpService.java:326)&lt;BR /&gt;
    at com.splunk.Service.send(Service.java:1211)&lt;BR /&gt;
    at com.splunk.HttpService.get(HttpService.java:130)&lt;BR /&gt;
    at com.splunk.Service.export(Service.java:196)&lt;BR /&gt;
    at com.splunk.Service.export(Service.java:211)&lt;BR /&gt;
    at &lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 19:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42150#M1409</guid>
      <dc:creator>dshah2</dc:creator>
      <dc:date>2013-08-21T19:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: SDK JAVA Connection  issues -- unable to find valid certification path to requested target</title>
      <link>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42151#M1410</link>
      <description>&lt;P&gt;2 years, over 1,000 views and no answer??? Nice work Splunk....&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2015 14:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42151#M1410</guid>
      <dc:creator>emobr01</dc:creator>
      <dc:date>2015-05-22T14:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: SDK JAVA Connection  issues -- unable to find valid certification path to requested target</title>
      <link>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42152#M1411</link>
      <description>&lt;P&gt;Please shed the light if you know how to resolve this. I am seeing the same error. The code worked locally but failed when deploy the connection client to weblogic server 12c.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 02:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42152#M1411</guid>
      <dc:creator>teresa1688</dc:creator>
      <dc:date>2017-04-11T02:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: SDK JAVA Connection  issues -- unable to find valid certification path to requested target</title>
      <link>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42153#M1412</link>
      <description>&lt;P&gt;I have the same issue right now, it stops me from feather development and buying the product.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SDK-JAVA-Connection-issues-unable-to-find-valid-certification/m-p/42153#M1412</guid>
      <dc:creator>sp04355</dc:creator>
      <dc:date>2018-11-28T16:38:48Z</dc:date>
    </item>
  </channel>
</rss>

