<?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: Getting Error  unable to find valid certification path to requested target in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144319#M4608</link>
    <description>&lt;P&gt;I have&amp;nbsp;dropbox-core-sdk-2.0-beta-3.jar file in my class path.I need to load the correct client certificates in my jvm cacerts file.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 23:47:12 GMT</pubDate>
    <dc:creator>Al A.7</dc:creator>
    <dc:date>2015-12-16T23:47:12Z</dc:date>
    <item>
      <title>Getting Error  unable to find valid certification path to requested target</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144317#M4606</link>
      <description>&lt;P&gt;I'm trying to use the dropox java sdk. Trying to run a simple test. But I get the following error when running this code&lt;/P&gt;
&lt;P&gt;DbxEntry.WithChildren listing = clientV1.getMetadataWithChildren("/");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;com.dropbox.core.DbxException$NetworkIO: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is strange, because httpurlconnection works fine going to &lt;A href="https://www.dropbox.com" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com&lt;/A&gt; &amp;nbsp;so the dropbox client cert is in my keystore. Is there another certificate that I need to import into my keystore that's missing?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Al&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:37:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144317#M4606</guid>
      <dc:creator>Al A.7</dc:creator>
      <dc:date>2019-05-29T09:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error  unable to find valid certification path to requested target</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144318#M4607</link>
      <description>&lt;P&gt;What version of the SDK do you have, and how are you running this? The certificates are&amp;nbsp;included in&amp;nbsp;src/com/dropbox/core/http/trusted-certs.crt, but this should be handled for you. I.e., a trusted-certs.raw is generated during the Maven build, and you can see where it's loaded in SSLConfig.java.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 05:04:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144318#M4607</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-16T05:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error  unable to find valid certification path to requested target</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144319#M4608</link>
      <description>&lt;P&gt;I have&amp;nbsp;dropbox-core-sdk-2.0-beta-3.jar file in my class path.I need to load the correct client certificates in my jvm cacerts file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 23:47:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144319#M4608</guid>
      <dc:creator>Al A.7</dc:creator>
      <dc:date>2015-12-16T23:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error  unable to find valid certification path to requested target</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144320#M4609</link>
      <description>&lt;P&gt;Immediately before calling getMetadataWithChildren(), can you add the following line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; System.getProperties().list(System.out);&lt;/P&gt;
&lt;P&gt;(You can also print to System.err if you prefer.)&lt;/P&gt;
&lt;P&gt;That information might help us debug the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 04:45:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144320#M4609</guid>
      <dc:creator>Kannan G.1</dc:creator>
      <dc:date>2015-12-17T04:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error  unable to find valid certification path to requested target</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144321#M4610</link>
      <description>&lt;P&gt;A little more info. I'm calling this sdk from tomcat webapp on java 1.7. If I call the api's directly (calling the&amp;nbsp;&lt;A href="https://api.dropbox.com/1/metadata/auto/?locale=en_US&amp;amp;list=true&amp;amp;file_limit=25000" rel="nofollow noreferrer"&gt;https://api.dropbox.com/1/metadata/auto/?locale=en_US&amp;amp;list=true&amp;amp;file_limit=25000&lt;/A&gt;) using httpsURLConnection from the same webapp the ssl handshake completes. So your client certificate is in the jvm cacerts file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if I go through your SDK it fails with the error I gave you. I would rather use your sdk so I don't have to find all the URLs and then parse all the response json.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the properties list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-- listing properties --&lt;BR /&gt;java.runtime.name=Java(TM) SE Runtime Environment&lt;BR /&gt;java.protocol.handler.pkgs=javax.net.ssl&lt;BR /&gt;sun.boot.library.path=C:\Udev\Hubble\jdk\jre\bin&lt;BR /&gt;java.vm.version=24.51-b03&lt;BR /&gt;shared.loader=&lt;BR /&gt;java.vm.vendor=Oracle Corporation&lt;BR /&gt;java.vendor.url=&lt;A href="http://java.oracle.com/" rel="nofollow noreferrer"&gt;http://java.oracle.com/&lt;/A&gt;&lt;BR /&gt;path.separator=;&lt;BR /&gt;java.vm.name=Java HotSpot(TM) 64-Bit Server VM&lt;BR /&gt;tomcat.util.buf.StringCache.byte.enabled=true&lt;BR /&gt;file.encoding.pkg=sun.io&lt;BR /&gt;user.script=&lt;BR /&gt;user.country=US&lt;BR /&gt;sun.java.launcher=SUN_STANDARD&lt;BR /&gt;sun.os.patch.level=Service Pack 1&lt;BR /&gt;tomcat.util.scan.StandardJarScanFilter.jarsToScan=log4j-core*.jar,log4j-taglib*.jar&lt;BR /&gt;java.vm.specification.name=Java Virtual Machine Specification&lt;BR /&gt;user.dir=C:\Udev\Hubble\tomcat\bin&lt;BR /&gt;java.runtime.version=1.7.0_51-b13&lt;BR /&gt;derby.system.home=C:\Udev\Hubble\Config&lt;BR /&gt;java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment&lt;BR /&gt;java.endorsed.dirs=C:\Udev\Hubble\tomcat/common/endorsed&lt;BR /&gt;os.arch=amd64&lt;BR /&gt;java.io.tmpdir=C:\Udev\Hubble\tomcat\temp&lt;BR /&gt;line.separator=&lt;/P&gt;
&lt;P&gt;java.vm.specification.vendor=Oracle Corporation&lt;BR /&gt;user.variant=&lt;BR /&gt;java.naming.factory.url.pkgs=org.apache.naming&lt;BR /&gt;os.name=Windows 7&lt;BR /&gt;sun.jnu.encoding=Cp1252&lt;BR /&gt;java.library.path=C:\Udev\Hubble\jdk\bin;C:\Udev\Hubble...&lt;BR /&gt;java.specification.name=Java Platform API Specification&lt;BR /&gt;java.class.version=51.0&lt;BR /&gt;sun.management.compiler=HotSpot 64-Bit Tiered Compilers&lt;BR /&gt;os.version=6.1&lt;BR /&gt;sun.io.useCanonCaches=false&lt;BR /&gt;user.home=C:\Users\aaghili.MANAGEDMETHODS&lt;BR /&gt;user.timezone=America/Denver&lt;BR /&gt;catalina.useNaming=true&lt;BR /&gt;java.awt.printerjob=sun.awt.windows.WPrinterJob&lt;BR /&gt;java.specification.version=1.7&lt;BR /&gt;file.encoding=Cp1252&lt;BR /&gt;tomcat.util.scan.StandardJarScanFilter.jarsToSkip=bootstrap.jar,commons-daemon.jar,tomc...&lt;BR /&gt;catalina.home=C:\Udev\Hubble\tomcat&lt;BR /&gt;user.name=aaghili&lt;BR /&gt;java.class.path=C:\Udev\Hubble\tomcat/bin/bootstrap.j...&lt;BR /&gt;java.naming.factory.initial=org.apache.naming.java.javaURLContext...&lt;BR /&gt;http.maxConnections=30&lt;BR /&gt;package.definition=sun.,java.,org.apache.catalina.,org.a...&lt;BR /&gt;java.vm.specification.version=1.7&lt;BR /&gt;sun.arch.data.model=64&lt;BR /&gt;java.home=C:\Udev\Hubble\jdk\jre&lt;BR /&gt;sun.java.command=org.apache.catalina.startup.Bootstrap...&lt;BR /&gt;java.specification.vendor=Oracle Corporation&lt;BR /&gt;user.language=en&lt;BR /&gt;awt.toolkit=sun.awt.windows.WToolkit&lt;BR /&gt;java.vm.info=mixed mode&lt;BR /&gt;java.version=1.7.0_51&lt;BR /&gt;java.ext.dirs=C:\Udev\Hubble\jdk\jre\lib\ext;C:\Win...&lt;BR /&gt;sun.boot.class.path=C:\Udev\Hubble\jdk\jre\lib\resources....&lt;BR /&gt;java.vendor=Oracle Corporation&lt;BR /&gt;server.loader=&lt;BR /&gt;catalina.base=C:\Udev\Hubble\tomcat&lt;BR /&gt;file.separator=\&lt;BR /&gt;java.vendor.url.bug=&lt;A href="http://bugreport.sun.com/bugreport/" rel="nofollow noreferrer"&gt;http://bugreport.sun.com/bugreport/&lt;/A&gt;&lt;BR /&gt;common.loader="${catalina.base}/lib","${catalina.ba...&lt;BR /&gt;sun.cpu.endian=little&lt;BR /&gt;sun.io.unicode.encoding=UnicodeLittle&lt;BR /&gt;package.access=sun.,org.apache.catalina.,org.apache....&lt;BR /&gt;sun.desktop=windows&lt;BR /&gt;sun.cpu.isalist=amd64&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>Thu, 17 Dec 2015 04:59:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144321#M4610</guid>
      <dc:creator>Al A.7</dc:creator>
      <dc:date>2015-12-17T04:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error  unable to find valid certification path to requested target</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144322#M4611</link>
      <description>&lt;P&gt;Al, I wrote a short test program that makes HTTP requests to Dropbox servers using the SDK. &amp;nbsp;Can you try running it on your machine?&lt;/P&gt;
&lt;P&gt;Link:&amp;nbsp;&lt;A href="https://www.dropbox.com/s/uex1nmzombsa0pu/cert-chain.zip" rel="nofollow noreferrer"&gt;https://www.dropbox.com/s/uex1nmzombsa0pu/cert-chain.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;See "ReadMe.txt" for instructions on how to compile and run it.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 10:53:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Error-unable-to-find-valid-certification-path-to/m-p/144322#M4611</guid>
      <dc:creator>Kannan G.1</dc:creator>
      <dc:date>2016-01-06T10:53:31Z</dc:date>
    </item>
  </channel>
</rss>

