2016-04-25 22 views
0

私はeGerrit Eclipse Plugin(https://www.eclipse.org/egerrit/)を使用して、Eclipseからgerritサーバーに接続しようとしています。接続しようとするたびに、自分のURL(https://gerrit.isys-software.de)が無効であるというエラーが表示されます。しかし、問題なくブラウザで呼び出すことができるので、URLが有効であることは間違いありません。誰かがeGerrit Pluginを使用していますか?eGerrit - 無効なURL

ありがとうございます。

答えて

0

私はこの問題を解決しました。証明書を検証することができませんでした、次のエラーは、Eclipse-ログで見つかりました:

Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at 
sun.security.validator.PKIXValidator.doBuild(Unknown Source) at 
sun.security.validator.PKIXValidator.engineValidate(Unknown Source) at 
sun.security.validator.Validator.validate(Unknown Source) at 
sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) at 
sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) at 
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) at 
org.apache.http.conn.ssl.SSLContextBuilder$TrustManagerDelegate.checkServerTrusted(SSLContextBuilder.java:190) at 
sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(Unknown Source) 
... 84 more 

次のステップ:コンソール経由でカスタムトラストストアにサーバー証明書を追加しました:

keytool.exe -import -alias <alias> -file <path-to-certificate> -keystore <path-to-truststore> 

私はEclipseを開始した後、 2 truststoreパラメータを使用すると、問題なく接続を確立できます。

-Djavax.net.ssl.trustStore=<path-to-truststore> 
-Djavax.net.ssl.trustStorePassword=<password> 
関連する問題