{"id":23398925,"url":"https://github.com/firsttimeez/simple-open-ssl","last_synced_at":"2026-02-12T16:06:45.804Z","repository":{"id":268489780,"uuid":"904519392","full_name":"FirstTimeEZ/simple-open-ssl","owner":"FirstTimeEZ","description":"Execute OpenSSL commands directly from JavaScript. Provides a simple, cross-platform interface for cryptographic operations, certificate management, and security tasks.","archived":false,"fork":false,"pushed_at":"2024-12-17T12:45:00.000Z","size":2823,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T17:46:26.872Z","etag":null,"topics":["command","es6","execute","generate","interop","javascript","linux","module","open","open-ssl","openssl","pki","runner","sign","simple","ssl","tls","verify","windows","x509"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/simple-open-ssl","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FirstTimeEZ.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-17T03:49:14.000Z","updated_at":"2024-12-17T12:44:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a05a1e1-edbe-4097-b08a-b34cdef6cdc0","html_url":"https://github.com/FirstTimeEZ/simple-open-ssl","commit_stats":null,"previous_names":["firsttimeez/simple-open-ssl"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/FirstTimeEZ/simple-open-ssl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirstTimeEZ%2Fsimple-open-ssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirstTimeEZ%2Fsimple-open-ssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirstTimeEZ%2Fsimple-open-ssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirstTimeEZ%2Fsimple-open-ssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FirstTimeEZ","download_url":"https://codeload.github.com/FirstTimeEZ/simple-open-ssl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirstTimeEZ%2Fsimple-open-ssl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29371536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"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":["command","es6","execute","generate","interop","javascript","linux","module","open","open-ssl","openssl","pki","runner","sign","simple","ssl","tls","verify","windows","x509"],"created_at":"2024-12-22T09:49:53.603Z","updated_at":"2026-02-12T16:06:45.797Z","avatar_url":"https://github.com/FirstTimeEZ.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://i.imgur.com/nSEjI0t.jpeg)](https://www.npmjs.com/package/simple-open-ssl)\n\n# Simple OpenSSL for Javascript\n\nExecute `OpenSSL` commands directly from `JavaScript`. \n\nProvides a simple, cross-platform interface for cryptographic operations, certificate management, and security tasks.\n\n#### Usage:\n\n```javascript\nimport { runCommandSync } from 'simple-open-ssl';\n\nconst standardOutput = runCommandSync(`x509 -in certificate.pem -enddate -noout`);\n```\n\n#### Windows:\n\nUses the included packaged version\n\n```\nOpenSSL 3.2.3 3 Sep 2024 (Library: OpenSSL 3.2.3 3 Sep 2024)\n```\n\n#### Linux/Other: \n\nUses the local version of `OpenSSl` that is already installed\n\n```\nmanual install required if its not\nDebian: sudo apt install openssl\nRHEL:   sudo yum install openssl\nMacOS:  brew install openssl\n```\n\n---------------------\n\n# Exports\n\n### `runCommandSync`\n\nExecutes an OpenSSL command synchronously.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eShow jsdoc\u003c/b\u003e\u003c/summary\u003e\n\n```javascript\n/**\n * Executes an OpenSSL command synchronously.\n *\n * @description\n * This function runs OpenSSL commands with platform-specific handling:\n * - On Windows, it uses the packaged version of OpenSSL\n * - On other platforms (e.g., Linux, macOS), it uses the locally installed OpenSSL\n *\n * @param {string} opensslCommand - The OpenSSL command to be executed, including any arguments.\n * @param {Object} [execOptions] - Optional execution options for the synchronous command, Defaults to UTF-8 encoding if not provided.\n * @param {string} [execOptions.encoding='utf-8'] - The encoding to use for command output.\n * @param {string} [execOptions.cwd] - Current working directory for the command execution.\n * @param {Object} [execOptions.env] - Environment variables for the command.\n * \n * @returns {string|undefined} The standard output from the executed command, or `undefined` if the command execution fails.\n */\nexport function runCommandSync(opensslCommand, execOptions = { encoding: 'utf-8' }) { /* */ }\n```\n\n\u003c/details\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirsttimeez%2Fsimple-open-ssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirsttimeez%2Fsimple-open-ssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirsttimeez%2Fsimple-open-ssl/lists"}