Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SunCertPathBuilderException unable to find valid certification #3

Open
MilanNz opened this issue Jan 1, 2018 · 4 comments
Open

SunCertPathBuilderException unable to find valid certification #3

MilanNz opened this issue Jan 1, 2018 · 4 comments

Comments

@MilanNz
Copy link

MilanNz commented Jan 1, 2018

Hello, thank you for great api but i have problem with following issue:

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)

Do you have any idea how to solve this issue?

@VaultDeveloper
Copy link

VaultDeveloper commented Jan 3, 2018

I think this repo will not have upgrades, you need to declare the error in binance-exchange's fork : https://github.com/binance-exchange/binance-java-api

I declare more or less the same issue : binance-exchange#20

@MilanNz
Copy link
Author

MilanNz commented Jan 8, 2018

cool, thanks :)

Edit:
I've solved this issue using InstallCert class.

@Micha1990
Copy link

Which host and port did you use with InstallCert? Do I just have to run it or integrate it in the program somehow?

@venuchitta
Copy link

You can use host api.binance.com with no port like "java InstallCert api.binance.com". Then follow instructions as per http://www.mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants