{"id":31195599,"url":"https://github.com/fshin1988/ssl_certificate","last_synced_at":"2025-10-12T02:43:18.698Z","repository":{"id":59156274,"uuid":"102488471","full_name":"fshin1988/ssl_certificate","owner":"fshin1988","description":"Wrapper of OpenSSL::X509::Certificate","archived":false,"fork":false,"pushed_at":"2017-09-10T08:17:14.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-07T10:09:10.863Z","etag":null,"topics":["gem","openssl","ruby","ssl-certificate"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/fshin1988.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-05T14:01:49.000Z","updated_at":"2019-05-19T01:52:59.000Z","dependencies_parsed_at":"2022-09-13T20:11:03.606Z","dependency_job_id":null,"html_url":"https://github.com/fshin1988/ssl_certificate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fshin1988/ssl_certificate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fshin1988%2Fssl_certificate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fshin1988%2Fssl_certificate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fshin1988%2Fssl_certificate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fshin1988%2Fssl_certificate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fshin1988","download_url":"https://codeload.github.com/fshin1988/ssl_certificate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fshin1988%2Fssl_certificate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009958,"owners_count":26084670,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["gem","openssl","ruby","ssl-certificate"],"created_at":"2025-09-20T03:42:42.027Z","updated_at":"2025-10-12T02:43:18.693Z","avatar_url":"https://github.com/fshin1988.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SslCertificate\nssl_certificate is wrapper of OpenSSL::X509::Certificate.\n\nIt has some useful methods to handle ssl certificate.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ssl_certificate'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ssl_certificate\n\n## Usage\n```ruby\nrequire 'ssl_certificate'\n\n# create object from certificate of pem or der format\ncert_pem = File.read(\"spec/test_data/www.example.com.crt\")\ncert = SslCertificate::Certificate.new(cert_pem)\n\ncert.common_name\n# =\u003e \"www.example.com\"\n\ncert.alternative_names\n# =\u003e [\"example.com\", \"hoge.example.com\"]\n\nkey_pem = File.read(\"spec/test_data/www.example.com.key\")\ncert.check_private_key_str(key_pem)\n# =\u003e true\n\n# check whether a fqdn corresponds to the certificate\ncert.check_fqdn(\"www.example.com\")\n# =\u003e true\ncert.check_fqdn(\"hoge.example.com\")\n# =\u003e true\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/fshin1988/ssl_certificate.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffshin1988%2Fssl_certificate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffshin1988%2Fssl_certificate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffshin1988%2Fssl_certificate/lists"}