{"id":44413010,"url":"https://github.com/tomcz/pemtojks","last_synced_at":"2026-02-12T07:50:08.064Z","repository":{"id":66884295,"uuid":"110471812","full_name":"tomcz/pemToJks","owner":"tomcz","description":"Kotlin command line application to add PEM encoded keys and certificates to Java KeyStores.","archived":false,"fork":false,"pushed_at":"2023-12-12T22:03:48.000Z","size":171,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-29T23:28:03.773Z","etag":null,"topics":["certificate","java-keystore","jks","kotlin","pem"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomcz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-12T21:45:34.000Z","updated_at":"2021-11-30T02:32:33.000Z","dependencies_parsed_at":"2024-01-07T04:09:19.530Z","dependency_job_id":"1231241e-d38f-4c85-b4d4-c2adc5c26ad9","html_url":"https://github.com/tomcz/pemToJks","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"cc889210032c7c6c234496425f9982a8fe82190a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tomcz/pemToJks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcz%2FpemToJks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcz%2FpemToJks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcz%2FpemToJks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcz%2FpemToJks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomcz","download_url":"https://codeload.github.com/tomcz/pemToJks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcz%2FpemToJks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29361810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["certificate","java-keystore","jks","kotlin","pem"],"created_at":"2026-02-12T07:50:07.420Z","updated_at":"2026-02-12T07:50:08.058Z","avatar_url":"https://github.com/tomcz.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PEM to JKS\n\nThis is a Kotlin command line application that adds PEM-encoded certificates (in X.509 format)\nand RSA private keys (in PKCS #8 format) to a Java KeyStore, so that they can be used for\nSSL/TLS in Java applications.\n\n## Run the application\n\nTo obtain the application bundle you can either build the application using the steps below or download the [latest release](https://github.com/tomcz/pemToJks/releases).\n\nThe following example commands are run from the root of the unzipped application bundle.\n\nView help text:\n\n```\n$\u003e ./bin/pemToJks -h\nusage: pemToJks\n -alias \u003carg\u003e     Java keystore alias for certificate/key\n -aliaspw \u003carg\u003e   Java keystore key alias password\n -cert \u003carg\u003e      Path to PEM certificate file\n -h,--help        Print this message and exit\n -key \u003carg\u003e       Path to PEM key file\n -store \u003carg\u003e     Path to java keystore file\n -storepw \u003carg\u003e   Java keystore password\n```\n\nAdd a trusted certificate to a keystore:  \nNOTE: If the keystore does not exist, it will be created.\n\n```\n$\u003e ./bin/pemToJks -cert cert.pem -alias trustme -store test.jks\nReading certificate file\nLoading keystore\nAdding certificate entry to keystore\nSaving keystore\nDone\n```\n\nAdd a certificate chain and private key to a keystore:  \nNOTE: If the keystore does not exist, it will be created.\n\n```\n$\u003e ./bin/pemToJks -cert cert.pem -key key.pem -alias useme -store test.jks\nReading certificate file\nReading key file\nVerifying certificate against key\nLoading keystore\nAdding key \u0026 cert chain entry to keystore\nSaving keystore\nDone\n```\n\n## Development\n\n### Requirements\n\n1. Java 11\n2. Clone this project\n\n### Build the application\n\nRun the following from the root of the project:\n\n```\nmake all\n```\n\nThis creates a `build/distributions/pemToJks.zip` application bundle.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcz%2Fpemtojks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomcz%2Fpemtojks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcz%2Fpemtojks/lists"}