{"id":24256128,"url":"https://github.com/timja/openjdk-intermediate-ca-reproducer","last_synced_at":"2025-07-23T19:34:18.810Z","repository":{"id":270858639,"uuid":"911673609","full_name":"timja/openjdk-intermediate-ca-reproducer","owner":"timja","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-21T09:29:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T05:09:30.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-03T15:19:28.000Z","updated_at":"2025-02-21T09:29:20.000Z","dependencies_parsed_at":"2025-02-21T10:25:51.155Z","dependency_job_id":"2c1665ad-373f-4ba4-a1c2-b9fe5a10da99","html_url":"https://github.com/timja/openjdk-intermediate-ca-reproducer","commit_stats":null,"previous_names":["timja/openjdk-intermediate-ca-reproducer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timja/openjdk-intermediate-ca-reproducer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fopenjdk-intermediate-ca-reproducer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fopenjdk-intermediate-ca-reproducer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fopenjdk-intermediate-ca-reproducer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fopenjdk-intermediate-ca-reproducer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timja","download_url":"https://codeload.github.com/timja/openjdk-intermediate-ca-reproducer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fopenjdk-intermediate-ca-reproducer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738345,"owners_count":23976417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-15T04:53:24.803Z","updated_at":"2025-07-23T19:34:18.791Z","avatar_url":"https://github.com/timja.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reproduce Java Chain issue\n\nRequirements:\n* On a Mac\n* Docker\n* Docker compose\n* OpenSSL\n\n## Create certificates\n```shell\n./bin/setup.sh\ndocker compose up\n```\n\n## Configure certificate trust\n\nInstall the root and intermediate certs to your Keychain.\nYour user keychain is fine (login).\n\nIf you double click the cert it may try use your system one which is ok but may not work if you don't have admin access.\nInstead you can just drag and drop the certificates into the keychain.\n\nDouble click the root in the keychain and expand the trust section and set to \"Always Trust\".\n\nThen open the URL in your browser and validate its trusted: https://localhost:8443\n\nYou should see a page with \"Hello, World!\".\n\n## Run with Java\n\n```shell\njava Main.java https://localhost:8443 KeychainStore\n```\n\n### Expected with Java 23\n\n```text\nException in thread \"main\" java.lang.RuntimeException: Test failed:\n\tat Main.main(Main.java:36)\nCaused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\n```\n\n### Expected with https://github.com/openjdk/jdk/pull/22911\n\nCommand:\n\n```shell\n/Users/timja/projects/jdk/build/macosx-aarch64-server-release/jdk/bin/java Main.java https://localhost:8443 KeychainStore\n```\n\nOutput:\n```\ntimja-intermediate\ntimja-root\nsize:\u003csome number\u003e\nSuccess\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimja%2Fopenjdk-intermediate-ca-reproducer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimja%2Fopenjdk-intermediate-ca-reproducer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimja%2Fopenjdk-intermediate-ca-reproducer/lists"}