2012-01-14 5 views
0

Eclipse Java EE Developers Helios SR2 IDEをインストールしました。 Eclipseマーケットプレイスからインストールされる唯一の追加プラグインは、WebSphere Application Server 8.0 Developer Tools(8.0.4)およびJGit/EGitです。WAS 8プラグインを使用してEclipse 3.6のgithubからRepoを複製しようとすると、PKIKパス構築に失敗しました

IBMサイトの手順に従ってeclipse.iniファイルを更新し、WAS8に付属のIBM提供のJREを使用するまでgithubに接続できます。

IBM JREを使用するようにEclipseを変更した後、githubに接続できませんでした。私は、リポジトリのクローンを作成しようとしたときに、例えば、私はここでエラーが発生しました:

my/url/to.git: cannot open git-upload-pack 
java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory 

ここに記載されているよう私は設定ファイルを更新: http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/index.jsp?topic=%2Fcom.ibm.ws.ast.st.v6.ui.doc%2Ftopics%2Frssl_isUseIBMSSLSocketFactory.html

私は変更を行った後、それはまだありません作業。私はこのエラーを取得する:

my/url/to.git: cannot open git-upload-pack 
com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 
    java.security.cert.CertPathValidatorException: The certificate issued by CN=DigiCert High Assurance EV Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US is not trusted; internal cause is: 
    java.security.cert.CertPathValidatorException: Certificate chaining error 

答えて

0

(まず、私はあなたがIBM JRE上でEclipseを実行したい理由はわからないんだけど、あなたが実行している環境として(あるいはデフォルトで)特定のプロジェクトのためのIBM JREが必要な場合。

このエラーは、IBM JREがこの証明書(CN=DigiCert High Assurance EV Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US)をそのまま受け入れていないために発生しています。

OracleとIBM JREの両方には、信頼できるCA証明書のデフォルトセットが付属しています。

Oracle Javaでは「jssecacerts, if it exists. Otherwise, cacerts」にあります。ドキュメントも書かれています:

IMPORTANT NOTE: The JDK ships with a limited number of trusted root certificates in the /lib/security/cacerts file. As documented in keytool, it is your responsibility to maintain (that is, add/remove) the certificates contained in this file if you use this file as a truststore.

Depending on the certificate configuration of the servers you contact, you may need to add additional root certificate(s). Obtain the needed specific root certificate(s) from the appropriate vendor.

これは、IBM JREのために別の場所にあってもよいが、最終的に、このアドバイス断片も適用されます:それは確かにあなたがしたいCA証明書を持たせるためにあなた次第、最終的です信頼。たとえば、ブラウザからエクスポートすることができます。

+0

私はIBM JREで実行したくありません。 WASツールのドキュメントには、IDEからWASを開始および停止するために必要なことが記載されています。彼らは "IBM固有の"呼び出しを使用します。 :( –

+0

ところで、私は証明書がcacertsファイルにあることを確認しました。ここでのドキュメントを使用して証明しました。ここでは、ドキュメントを使って検証しました:http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/index.jsp ?トピック=%2Fcom.ibm.etools.webservice.was.creation.ui.doc%2Ftopics%2Ftwsconfigjressl.html –

関連する問題