简体   繁体   English

我在安装Movilizer eclipse插件时遇到麻烦

[英]I am having troubles installing the Movilizer eclipse plugin

While installing the Movilizer eclipse plugin as described here I am constantly getting the following error: 在安装所描述的Movilizer eclipse插件在这里我经常收到以下错误:

The Movilizer Eclipse Plug-in is a feature, which was developed to speed up the development process of Movilizer Requests and Movelets when using the Eclipse web service environment. Movilizer Eclipse插件是一项功能,开发该功能是为了在使用Eclipse Web服务环境时加快Movilizer请求和Movelet的开发过程。

日食异常

It seems to be a problem related to SSL certificates not beeing supported by Java. 似乎与Java不支持的SSL证书有关的问题。

The domain devtools.movilizer.com seems to use a certificate signed by StartCom. 域devtools.movi​​lizer.com似乎使用StartCom签名的证书。 The root certificate of this CA has been included in the trust stores of every major operating system and browser for years. 多年来,此CA的根证书已包含在每个主要操作系统和浏览器的信任库中。 However, Oracle Java comes with its own trust store and it seems Oracle has decided not to inlcude the StartCom CA in it for whatever reasons. 但是,Oracle Java附带了自己的信任库,并且看来Oracle出于任何原因都决定不将StartCom CA包含在其中。

That said, you should download the StartCom Root CA certificate here and install it with keytool like so: 也就是说,您应该在此处下载StartCom Root CA证书并使用keytool安装,如下所示:

cd %JAVA_HOME%\jre

bin\keytool -import -trustcacerts -keystore lib\security\cacerts -storepass changeit -noprompt -alias startcomrootca -file c:\path\to\the\ca-cross-g2.crt`

Well to install the connector we need to import a Movilizer certificate in the keystore of the JDE/JRE that is being used by the eclipse. 要安装连接器,我们需要在Eclipse使用的JDE / JRE的密钥库中导入Movilizer证书。

  1. First of all we should install Eclipse Luna although Mars should work too. 首先,我们应该安装Eclipse Luna,尽管火星也应该工作。 Now you should be aware of the Java instance that is being used by the eclipse you are trying to enrich with the Movilizer plugin. 现在,您应该知道正在尝试通过Movilizer插件丰富的Eclipse所使用的Java实例。 The following link helps in this regard. 以下链接在这方面有所帮助。 link . 链接 If you find that the path is something like (C:\\ProgramData\\Oracle\\Java\\javapath\\java.exe) which seems to be a new Orcale stunt this link will help you. 如果您发现该路径类似于(C:\\ ProgramData \\ Oracle \\ Java \\ javapath \\ java.exe),似乎是一个新的Orcale特技,则此链接将为您提供帮助。 link Also make sure that you have the real java bin directory in your system path. 链接还请确保您在系统路径中具有真实的Java bin目录。 You will need this to call the keytool later on. 您稍后将需要此功能来调用keytool。
  2. Download the StartCom Root CA certificate and copy it in the Java folder. 下载StartCom根CA证书并将其复制到Java文件夹中。 (eg C:\\Program Files\\Java\\jre1.8.0_111)Find the file here (例如C:\\ Program Files \\ Java \\ jre1.8.0_111)在此处查找文件
  3. Next we should open up a console but doing it in the admin mode. 接下来,我们应该打开一个控制台,但是要在admin模式下进行操作。 Find out how you can do int on Windows 10 here , Windows 7 here . 找出你怎么可以在Windows 10做INT 这里 ,Windows 7的位置
  4. call the following in the console in the same dir as (2) so your jre/jde directory: keytool -import -trustcacerts -keystore lib/security/cacerts -storepass changeit -noprompt -alias mycert -file ca-cross-g2.crt 在控制台中与(2)相同的目录中调用以下命令,以便在jre / jde目录中调用: keytool -import -trustcacerts -keystore lib/security/cacerts -storepass changeit -noprompt -alias mycert -file ca-cross-g2.crt
  5. Sometimes you will have to restart your eclipse. 有时,您将不得不重新开始蚀。

德国司令部

I struggled with this issue awhile before finding out that the CA certificate that is listed is no longer valid. 在发现列出的CA证书不再有效之前,我花了一段时间解决这个问题。 The correct ca certificate is ◦Let's Encrypt Authority X3 (IdenTrust cross-signed) at https://letsencrypt.org/certificates/ . 正确的CA证书是在◦Let的加密管理局X3(交叉的IdenTrust签名) https://letsencrypt.org/certificates/ It is listed about mid-way down the page. 它在页面中间列出。 How I found this was by looking at the certificate that https://devtools.movilizer.com/eclipseUpdateSite46/ was using in Chrome. 我是通过查看https://devtools.movi​​lizer.com/eclipseUpdateSite46/在Chrome中使用的证书来发现此问题的。 I used the following commands 我使用了以下命令

  1. cd %JAVA_HOME% cd%JAVA_HOME%
  2. bin\\keytool -import -trustcacerts -keystore lib\\security\\cacerts -storepass changeit -noprompt -alias statcomrootca -file lets-encrypt-x3-cross-signed.cer. bin \\ keytool-导入-trustcacerts-密钥库lib \\ security \\ cacerts -storepass changeit -noprompt -alias statcomrootca -file lets-encrypt-x3-cross-signed.cer。 NOTE: lets-encrypt-x3-cross-signed.cer needs to be in your %JAVA_HOME% directory. 注意:lets-encrypt-x3-cross-signed.cer需要在您的%JAVA_HOME%目录中。

Also I was setting up a new computer when I ran into this issue so I did have to set all of my environmental variables as well. 另外,当我遇到此问题时,我正在设置一台新计算机,因此我也必须设置所有环境变量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM