{"id":37856428,"url":"https://github.com/aacfactory/afssl","last_synced_at":"2026-01-16T16:27:21.609Z","repository":{"id":57704743,"uuid":"493492169","full_name":"aacfactory/afssl","owner":"aacfactory","description":"self sign ssl","archived":false,"fork":false,"pushed_at":"2023-12-19T12:18:19.000Z","size":2189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-12-20T17:07:57.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/aacfactory.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}},"created_at":"2022-05-18T03:16:01.000Z","updated_at":"2022-05-18T08:11:23.000Z","dependencies_parsed_at":"2023-11-21T00:27:37.542Z","dependency_job_id":"796e69d3-ee32-4ca0-b640-99338ed5a11a","html_url":"https://github.com/aacfactory/afssl","commit_stats":null,"previous_names":[],"tags_count":15,"template":null,"template_full_name":null,"purl":"pkg:github/aacfactory/afssl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aacfactory%2Fafssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aacfactory%2Fafssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aacfactory%2Fafssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aacfactory%2Fafssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aacfactory","download_url":"https://codeload.github.com/aacfactory/afssl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aacfactory%2Fafssl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":"2026-01-16T16:27:20.988Z","updated_at":"2026-01-16T16:27:21.596Z","avatar_url":"https://github.com/aacfactory.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AFSSL\nSSL Generator. \n\n## Install\n```shell\ngo get github.com/aacfactory/afssl\n```\n\n## Usage\nGenerate Self Signed SSL.\n```go\nconfig := afssl.CertificateConfig{}\n// ca\ncaPEM, caKeyPEM, caErr := afssl.GenerateCertificate(config, afssl.CA())\nif caErr != nil {\n    t.Error(\"ca\", caErr)\n    return\n}\nfmt.Println(string(caPEM))\nfmt.Println(string(caKeyPEM))\n// server\nserverPEM, serverKeyPEM, serverErr := afssl.GenerateCertificate(config, afssl.WithParent(caPEM, caKeyPEM))\nif serverErr != nil {\n    t.Error(\"server\", serverErr)\n    return\n}\nfmt.Println(string(serverPEM))\nfmt.Println(string(serverKeyPEM))\n// client\nclientPEM, clientKeyPEM, clientErr := afssl.GenerateCertificate(config, afssl.WithParent(caPEM, caKeyPEM))\nif clientErr != nil {\n    t.Error(\"client\", clientErr)\n    return\n}\nfmt.Println(string(clientPEM))\nfmt.Println(string(clientKeyPEM))\n```\n\n## Use as bin\n```shell\ngo install github.com/aacfactory/afssl/commands/afssl@latest\n```\n\n```shell\nafssl --type={RSA,ECDSA,ED25519,SM2} --ca --expire={days} --cn={CN} {dst path}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faacfactory%2Fafssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faacfactory%2Fafssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faacfactory%2Fafssl/lists"}