{"id":23276297,"url":"https://github.com/dominiquecomte/sslpoke","last_synced_at":"2025-10-29T22:42:15.105Z","repository":{"id":254074438,"uuid":"769551633","full_name":"DominiqueComte/sslpoke","owner":"DominiqueComte","description":"the SSLPoke command, from Atlassian, but with a Maven native build and updated to Java 21","archived":false,"fork":false,"pushed_at":"2025-02-07T19:02:59.000Z","size":119,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T20:20:41.111Z","etag":null,"topics":["java","ssl","test","tls"],"latest_commit_sha":null,"homepage":"","language":"Java","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/DominiqueComte.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":"2024-03-09T11:58:52.000Z","updated_at":"2025-02-07T19:03:02.000Z","dependencies_parsed_at":"2025-01-01T20:28:54.368Z","dependency_job_id":"cd59486d-57f1-4f9e-b920-2490ca06709e","html_url":"https://github.com/DominiqueComte/sslpoke","commit_stats":{"total_commits":40,"total_committers":2,"mean_commits":20.0,"dds":"0.19999999999999996","last_synced_commit":"d2196276fc3ded85d41f702752195071a327b55c"},"previous_names":["dominiquecomte/sslpoke"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DominiqueComte%2Fsslpoke","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DominiqueComte%2Fsslpoke/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DominiqueComte%2Fsslpoke/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DominiqueComte%2Fsslpoke/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DominiqueComte","download_url":"https://codeload.github.com/DominiqueComte/sslpoke/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238515995,"owners_count":19485323,"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","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":["java","ssl","test","tls"],"created_at":"2024-12-19T21:30:36.893Z","updated_at":"2025-10-27T15:30:25.659Z","avatar_url":"https://github.com/DominiqueComte.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSLPoke\n\nSmall program for testing the validity of certificates and trust stores.\n\n## Building\nEither build \"normally\":\n```shell\n./mvnw package\n```\nor do a native build (that needs a GraalVM JDK)\n```shell\n./mvnw package -Pnative\n```\n\n## Usage\n\n### with the JAR file and the default trust store\n```shell\njava SSLPoke [target-hostname] [port]\n```\n\n### with the native program and the default trust store\n```shell\nsslpoke [target-hostname] [port]\n```\n\n### output\n\nIf the server certificate is trusted by the client-truststore it will print,\n\n```console\nSuccessfully connected\n```\n\nOtherwise, it will print an exception like this.\n```console\njavax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:\nsun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\n```\n\n### extra options\nThe same options can be passed to the Java program or the native program.\n\nFor example:\n* the path to a trust store\n  * `-Djavax.net.ssl.trustStore=[client-truststore-path]`\n* enabling some debugging output\n  * `-Djavax.net.debug=ssl:handshake`\n* proxy settings\netc...\n\n\n## source\n\nThis class or similar ones are a bit everywhere, I couldn't find which one was the first one.\nPossibly, from [this file](https://confluence.atlassian.com/download/attachments/117455/SSLPoke.java) on the Atlassian website.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominiquecomte%2Fsslpoke","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdominiquecomte%2Fsslpoke","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominiquecomte%2Fsslpoke/lists"}