{"id":19443014,"url":"https://github.com/syncom/create-pki","last_synced_at":"2026-04-21T03:32:16.649Z","repository":{"id":145814370,"uuid":"82007440","full_name":"syncom/create-pki","owner":"syncom","description":"Sample script to create a PKI for TLS server authentication, with openssl","archived":false,"fork":false,"pushed_at":"2017-10-28T08:28:09.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T07:47:31.282Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syncom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-02-15T01:34:45.000Z","updated_at":"2017-02-15T01:39:51.000Z","dependencies_parsed_at":"2023-04-01T09:33:12.861Z","dependency_job_id":null,"html_url":"https://github.com/syncom/create-pki","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syncom/create-pki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syncom%2Fcreate-pki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syncom%2Fcreate-pki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syncom%2Fcreate-pki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syncom%2Fcreate-pki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syncom","download_url":"https://codeload.github.com/syncom/create-pki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syncom%2Fcreate-pki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32075232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-10T15:41:44.207Z","updated_at":"2026-04-21T03:32:16.626Z","avatar_url":"https://github.com/syncom.png","language":"Shell","readme":"# create-pki: a simple script demonstrating how to create a public-key infrastructure for a TLS server\n\n# Dependency\nThe script has been tested on Ubuntu (e.g., 16.04 LTS), and  requires \nOpenSSL be installed. To install OpenSSL on Ubuntu, \n```\nsudo apt-get install openssl\n```\n\n\n# How to generate a PKI\n\n* Modify the configuration template file `openssl.conf` as needed. \n* Run `./create_pki.sh` to generate a TLS server certificate. Enter requested\n  information when prompted.\n* To add a subjectAltName, in [openssl.cnf](./openssl.cnf), under the `[\n  v3_req]` section, uncomment the line\n  ```\n  subjectAltName = DNS:\u003cyour_subject_alternative_name\u003e\n  ```\n  and replace the `\u003cyour_subject_alternative_name\u003e` with your SAN.\n\n# How to test the server certificate\n\n## Server-side test\n\nRun\n```\nopenssl s_server \\\n-CAfile TestCA/cacert.pem \\\n-cert TestCA/server/example.com.cert.pem \\\n-key TestCA/server/example.com.key \n```\nIf everything is OK, expect to see\n```\nUsing default temp DH parameters\nUsing default temp ECDH parameters\nACCEPT\n```\n## Client-side test\n\nIn another shell, try\n```\t\nopenssl s_client\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncom%2Fcreate-pki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncom%2Fcreate-pki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncom%2Fcreate-pki/lists"}