Welcome to the new Box Support website. Check out all the details here on what’s changed.

Box Java SDK Connection Problem SSLHandshakeException SunCertPathBuilderException

New post

Comments

7 comments

  • kendomen

    you need this:

    http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

     

    and put the files in jre/lib/security

    0
    Comment actions Permalink
  • lguo

    I updated policy files US_export_policy.jar and local_policy.jar in the \jre\lib\security and got the same error as before. Also if I remove the 2 policy files and it gives me java.lang.SecurityException: Cannot locate policy or framework files! So there is issue beyond that, but thanks for the quick help.

    0
    Comment actions Permalink
  • kendomen

    do you have to use a -DhttpProxyPort to the java args?

    0
    Comment actions Permalink
  • lguo

    No. I do not use -DhttpProxyPort to the java args.

    0
    Comment actions Permalink
  • lguo

    Finally, the company product supporter points me the right direction. There is a piece of security software called "Netskope Client" and it blocks the connection. It will produce these security/certification errors when it is enabled and in conjunction with the company network since the same code always works with my home network. If it is disabled, it works fine within company network and no more errors.

    0
    Comment actions Permalink
  • Box Product Support

    While I'm facing the same issue, but I have to use a proxy.

    Is there any suggestions? Thanks a lot!

    0
    Comment actions Permalink
  • usmanelastica

    This is not working, 


     wrote:

    you need this:

    http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

     

    and put the files in jre/lib/security


     

    0
    Comment actions Permalink

Please sign in to leave a comment.