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

Certificate errors connecting to SynBioHub instances #544

Open
jakebeal opened this issue Feb 14, 2018 · 9 comments
Open

Certificate errors connecting to SynBioHub instances #544

jakebeal opened this issue Feb 14, 2018 · 9 comments
Assignees
Milestone

Comments

@jakebeal
Copy link
Contributor

I am attempting to retrieve items from SynBioHub, and cannot do so.
The problem seems to center on the fact that no SynBioHub instance provides a valid certificate:

Caused by: 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

How is this supposed to work?

@cjmyers
Copy link
Contributor

cjmyers commented Feb 15, 2018 via email

@jakebeal
Copy link
Contributor Author

I am using JavaSE-1.8

@cjmyers
Copy link
Contributor

cjmyers commented Feb 15, 2018 via email

@jakebeal
Copy link
Contributor Author

OK, this is strange... my system claims I've got 1.8 Update 161, but when I invoke Java directly the version I get is this:

java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

@cjmyers
Copy link
Contributor

cjmyers commented Feb 15, 2018 via email

@cjmyers
Copy link
Contributor

cjmyers commented Feb 15, 2018 via email

@jakebeal
Copy link
Contributor Author

Gah! I didn't realize that when Java updated itself automatically, it was only updating part of itself. OK, I am now successfully retrieving items from SynBioHub.

I think that a resolution of this issue should include adding dependency information to the README for libSBOLj

@cjmyers
Copy link
Contributor

cjmyers commented Feb 15, 2018

Agreed. Thought we had documented somewhere the Java version bit, but the JDK/JRE bit is annoying. Not sure we should document that as then we start getting into documenting how different OSs handle java installs.

@cjmyers cjmyers added this to the SBOL 2.4 milestone Feb 15, 2018
@cjmyers cjmyers self-assigned this Feb 15, 2018
@jakebeal
Copy link
Contributor Author

I checked and there's nothing about dependencies in the README.

@cjmyers cjmyers modified the milestones: SBOL 2.4, SBOL 2.5 Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants