Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADT-Install seems not to work :-( #15

Closed
JoachimRees opened this issue May 19, 2023 · 5 comments
Closed

ADT-Install seems not to work :-( #15

JoachimRees opened this issue May 19, 2023 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@JoachimRees
Copy link

I try to install ABAP Cleaner to my ADT, as instructed:

ADT, select menu 'Help / Install New Software...', copy the link https://sap.github.io/abap-cleaner/updatesite to the 'Work with' field and follow the installation steps

However, then a I get an error[1]:

Unable to read repository at https://sap.github.io/abap-cleaner/updatesite/content.xml.
Unable to read repository at https://sap.github.io/abap-cleaner/updatesite/content.xml.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

[1]
image

@jmgrassau
Copy link
Member

Hi Joachim,

hm, the URL looks correct on your screenshot, but it works for me (and apparently many others), so it doesn't seem to be an issue specific to ABAP cleaner, but rather a missing certificate on your machine – not at all my area of expertise, unfortunately. Let me try to find a colleague who knows more about it.

(Meanwhile, have you tried searching the web for "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"?)

Kind regards,
Jörg-Michael

@jmgrassau jmgrassau added the help wanted Extra attention is needed label May 21, 2023
@sratz
Copy link
Contributor

sratz commented May 22, 2023

@JoachimRees:
Some component in your network (antivirus, firewall, corporate proxy, ...) is hooking into encrypted TLS connections.

The fake certificate of this component needs to be trusted by the operating system / application.

Typically this is done by injecting a trusted root certificate into the Windows operating system trust store. However, Eclipse, in its default configuration, does not make use the Windows OS trust store but uses the trust store of the Java VM.

To change this, and have Eclipse use the OS trust store, you can set the following two options in eclipse.ini after -vmargs:

-Djavax.net.ssl.trustStore=NONE
-Djavax.net.ssl.trustStoreType=Windows-ROOT

@jmgrassau jmgrassau removed the help wanted Extra attention is needed label May 22, 2023
@f4abap
Copy link

f4abap commented May 22, 2023

@JoachimRees I can confirm that some corporate networks may have probnlems with it ;-)

Maybe you have the chance to do the install after workhours while using your ordinary home network.
This always works for me.

@JoachimRees
Copy link
Author

Awesome, this did it! Works fine now, thanks a lot!

To change this, and have Eclipse use the OS trust store, you can set the following two options in eclipse.ini after -vmargs:

-Djavax.net.ssl.trustStore=NONE
-Djavax.net.ssl.trustStoreType=Windows-ROOT

@jmgrassau
Copy link
Member

Hi Joachim,

great, thanks for your feedback! I shall then create a "known installation issues" page and link to it from the installation instructions.

Kind regards,
Jörg-Michael

@jmgrassau jmgrassau added the documentation Improvements or additions to documentation label May 23, 2023
jmgrassau added a commit to jmgrassau/abap-cleaner that referenced this issue May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants