gentics / mesh-vertx-example

http://vertx.io/blog/data-driven-apps-made-easy-with-vert-x-3-4-0-and-headless-cms-gentics-mesh/
17 stars 5 forks source link

Maven security issue #1

Closed KnowledgeGarden closed 6 years ago

KnowledgeGarden commented 6 years ago

Here's the error message -- compiling on MacBook Pro: Failed to execute goal on project mesh-vertx-example: Could not resolve dependencies for project com.gentics:mesh-vertx-example:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.gentics.mesh:mesh-rest-client:jar:0.9.27: Failed to read artifact descriptor for com.gentics.mesh:mesh-rest-client:jar:0.9.27: Could not transfer artifact com.gentics.mesh:mesh-rest-client:pom:0.9.27 from/to maven.gentics.com (https://maven.gentics.com/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Among the many comments on this issue is the notion of hand downloading the website's cert and installing it locally. Is there an easier fix?

Jotschi commented 6 years ago

Which JVM are you using? The error can happen on outdated JVMs due to missing ca certificates.

KnowledgeGarden commented 6 years ago

1.8.0_77-b03 on OS X El Capitan 10.11.6

Jotschi commented 6 years ago

Yes, that's too old. Update to the latest version and the error should be fixed.

KnowledgeGarden commented 6 years ago

Interesting: my mac says I have 171, but java -version says 077. Looking into why that's the case.

KnowledgeGarden commented 6 years ago

Updated JVM solved it. Thanks!