How to solve the connection when install aws toolkit on eclipse Neon?

前端 未结 4 1275
遇见更好的自我
遇见更好的自我 2020-12-17 03:16

I am in a company, and need set proxy to connect to the Internet. The proxy setting is ok, because I can connect to other website, e.g. Neon - http://download.eclipse.org/re

相关标签:
4条回答
  • 2020-12-17 03:48

    This is because java is not recognizing root certificate authority (CA) SSL certificate of https://aws.amazon.com.

    Solution is to add that certificate to java cacerts file so that it got permanently accepted.

    Step 1 : Get root certificate of https://aws.amazon.com

    CHROME BROWSER

    1. Open https://aws.amazon.com
    2. Select Inspect from context menu(right clicking on page) and navigate to security tab
    3. Click on view certificates
    4. Click on top most certificate on hierarchy and confirm it is tailed with Root CA phrase.
    5. drag and drop that image which you saw written certificate on desktop.

    FIREFOX BROWSER

    1. Open https://aws.amazon.com
    2. click on the green lock button "show certificate"
    3. tab "details", "export"

    Thats it! you got your root certificate!

    Step 2 : Get that certificate added to java cacerts file.

    1. use keytool.exe inside your jre bin folder.
    2. fire following command to place your certificate inside cacerts file

    keytool –import –noprompt –trustcacerts –alias ALIASNAME -file /PATH/TO/YOUR/DESKTOP/CertificateName.cer -keystore /PATH/TO/YOUR/JDK/jre/lib/security/cacerts -storepass changeit

    That is it! you got your problem resolved.

    PLEASE NOTE

    1. Do confirm that the jre which is giving you this PKIX error(JRE used by eclipse or your app after deployment) that is where you are performing STEP 2. If you would try with another jre problem would be as it is.
    0 讨论(0)
  • 2020-12-17 03:51

    Go to Eclipse -> Window -> Preferences -> Network Settings Change Active Provider to Direct Save Go back to Install Software Try again to pull from AWS Repo This time it will work

    0 讨论(0)
  • 2020-12-17 03:59

    Try changing the Window/Preferences/Network settings from Native to Direct. Launch eclipse from CLI using "eclipse.exe -clean" Retry the update

    0 讨论(0)
  • 2020-12-17 04:00

    Just flow the below steps in eclipse, 1) go to windows -> preference - > search for network connections 2) Change the active provider to direct.

    Then try install software in eclipse and search for http://aws.amazon.com/eclipse. It will work.

    0 讨论(0)
提交回复
热议问题