Request cannot be proceed error in Jhipster registry version 4.0.0

大城市里の小女人 提交于 2021-01-28 10:41:33

问题


I downloaded jhipster registry version 4.0.0, imported and run the registry successfully, when I open localhost:8761 I am getting request cannot be proceed error, there is no error information also.

When I used command mvnw I am getting an exception in thread "main" 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.


回答1:


One way is to use http protocol instead of https.

To do this go into your project directory > .mvn > wrapper > maven-wrapper.properties.

You will find something like distributionUrl=http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip.
Change this url to using http instead of https.

Other solutions are more complex but there is no harm in trying.

Problems connecting via HTTPS/SSL through own Java client
Calling web service: javax.net.ssl.SSLException: Received fatal alert: protocol_version
javax.net.ssl.SSLException: Received fatal alert: protocol_version




回答2:


Simply pass "-Dhttps.protocols=TLSv1.2" as extra argument



来源:https://stackoverflow.com/questions/51588896/request-cannot-be-proceed-error-in-jhipster-registry-version-4-0-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!