Open georg-eckert-zeiss opened 5 months ago
This
Caused by: ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: SunCertPathBuilderException: unable to find valid certification path to requested target
means that the JVM that runs ORT is lacking the proper SSL certificates. The Docker image build should actually ensure to have up-to-date SSL certifictes (also see scripts/import_certificates.sh
), so we need to look what's going on.
@georg-eckert-zeiss, can you re-test with a recent ORT release as we've switched to Java 21 which probably comes with updated certificates?
Describe the bug
When using ClearlyDefined as curation provider I get a SSLHandshakeException
To Reproduce
Steps to reproduce the behavior:
config.yml
into your repo under<Repo-Root>/.ort/config/config.yml
docker run -v $PWD/:/project -v $PWD/.ort:/home/ort/.ort --rm ghcr.io/oss-review-toolkit/ort --info analyze -f JSON -i /project/src -o /project/ORT
Expected behavior
No error. Curations are loaded correctly.
Console / log output
Add console and / or log output that shows the error and additional context. No screenshots of plain text please, to keep text searchable.
Environment
Output of the
ort requirements
command:Default latest docker image.
And specify (relevant parts of) your ORT configuration (
config.yml
):