安装失败.一个或多个证书被拒绝.无法继续安装 [英] Installation failed. One or more certificates rejected. Cannot proceed with installation

查看:138
本文介绍了安装失败.一个或多个证书被拒绝.无法继续安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的系统是Linux Mint SERENA; 在attemt上构建存储库 https://github.com/wso2/product-iots/releases/tag/v1.0.0-alpha

My System is Linux Mint SERENA; On attemt to build the repository https://github.com/wso2/product-iots/releases/tag/v1.0.0-alpha

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T12:57:37+01:00)
Maven home: /home/caleb/apache-maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-53-generic", arch: "i386", family: "unix"

发布的命令:mvn clean install

错误日志:

  `Installing carbon.product.id 4.4.11.
Installation failed.
One or more certificates rejected. Cannot proceed with installation.
Application failed, log file location: /media/caleb/DATA/REPOS/java/mvn/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1502873665554.log

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] WSO2 IoT - Parent .................................. SUCCESS [  1.205 s]
[INFO] WSO2 IoT - Broker Parent ........................... SUCCESS [  0.033 s]
[INFO] WSO2 IoT - Broker - P2 Profile Gen ................. SUCCESS [ 20.512 s]
[INFO] WSO2 IoT - Broker - Product Distribution ........... SUCCESS [ 35.205 s]
[INFO] WSO2 IoT - Core Parent ............................. SUCCESS [  0.016 s]
[INFO] WSO2 IoT - Core - Tools ............................ SUCCESS [  0.013 s]
[INFO] WSO2 IoT - Device Type Archetype ................... SUCCESS [  1.954 s]
[INFO] WSO2 IoT - Core - UI Styles ........................ SUCCESS [  0.884 s]
[INFO] WSO2 IoT - Core - Server UI Features ............... SUCCESS [  0.032 s]
[INFO] WSO2 IoT - Core - Server Styles Feature ............ SUCCESS [  0.095 s]
[INFO] WSO2 IoT - Core - P2 Profile Gen ................... FAILURE [ 39.359 s]
[INFO] WSO2 IoT - Core - Distribution ..................... SKIPPED
[INFO] WSO2 IoT - Analytics Parent ........................ SKIPPED
[INFO] WSO2 IoT - Analytics - P2 Profile Gen .............. SKIPPED
[INFO] WSO2 IoT - Analytics - Product Distribution ........ SKIPPED
[INFO] WSO2 IoT - Distribution Parent ..................... SKIPPED
[INFO] >WSO2 IoT - Integration Tests ...................... SKIPPED
[INFO] WSO2 IoT - Integration Test Artifacts .............. SKIPPED
[INFO] WSO2 IoT Server - Integration Test Common .......... SKIPPED
[INFO] WSO2 IoT - Integration Test Common Web UI Pages .... SKIPPED
[INFO] WSO2 IoT - Integration Test UI Module .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:40 min
[INFO] Finished at: 2017-08-16T09:54:27+01:00
[INFO] Final Memory: 59M/419M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product (p2-profile-generation-http-gateway-profile) on project wso2iot-core-profile-gen: Cannot generate P2 metadata: P2 publisher return code was 13 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2iot-core-profile-gen
`

对于成功构建产品的任何帮助,我们将不胜感激

Any Help will be greatly appreciated to build the product Successfully

推荐答案

此错误是由于 bug .根据该错误,最新的Oracle VM不信任证书.作为解决方案,您可以下载新的JDK并替换当前的JDK,也可以替换$JAVA_HOME/jre/lib/security中的所有证书.

This error comes due to a bug in the Equinox framework. According to the bug, latest Oracle VMs does not trust the certificates. As the solution, you can either download a fresh JDK and replace the current JDK or replace all the certificates in the $JAVA_HOME/jre/lib/security.

这篇关于安装失败.一个或多个证书被拒绝.无法继续安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆