{"id":17624976,"url":"https://github.com/ukoloff/openssl-win-root","last_synced_at":"2025-07-29T07:13:50.565Z","repository":{"id":27974863,"uuid":"31468175","full_name":"ukoloff/openssl-win-root","owner":"ukoloff","description":"Fetch Root CA certificates from Windows system store","archived":false,"fork":false,"pushed_at":"2023-01-13T13:56:31.000Z","size":40,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-06T19:16:58.226Z","etag":null,"topics":["openssl","root-certificates","ruby","x509"],"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/ukoloff.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":"2015-02-28T16:25:05.000Z","updated_at":"2023-06-13T20:17:39.000Z","dependencies_parsed_at":"2023-01-16T22:16:41.162Z","dependency_job_id":null,"html_url":"https://github.com/ukoloff/openssl-win-root","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ukoloff/openssl-win-root","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Fopenssl-win-root","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Fopenssl-win-root/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Fopenssl-win-root/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Fopenssl-win-root/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukoloff","download_url":"https://codeload.github.com/ukoloff/openssl-win-root/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Fopenssl-win-root/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263540775,"owners_count":23477454,"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","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":["openssl","root-certificates","ruby","x509"],"created_at":"2024-10-22T22:07:05.540Z","updated_at":"2025-07-04T12:32:02.258Z","avatar_url":"https://github.com/ukoloff.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenSSL::Win::Root\n\n[![Build status](https://ci.appveyor.com/api/projects/status/skiasd9u6i4udyhw?svg=true)](https://ci.appveyor.com/project/ukoloff/openssl-win-root)\n[![Gem Version](https://badge.fury.io/rb/openssl-win-root.svg)](http://badge.fury.io/rb/openssl-win-root)\n\nFetch Root CA certificates from Windows system store.\n\n## Abstract\n\nDefault installation of Ruby on Microsoft Windows provides no root certificates at all.\nSecure connections are simply impossible.\n\nRecommended fix is to load http://curl.haxx.se/ca/cacert.pem\nand set SSL_CERT_FILE environment variable.\n\nBut Windows has its own certificate store.\nThis gem just access it,\nfetch trusted root certificates\nand feed them to Ruby's OpenSSL.\n\nSo, if you installed some certificates\nor your company certificate is installed by Group Policy,\nthese certificates will be available to your Ruby program.\nIn addition, no network access is required.\n\nUnder other OSes this gem does nothing.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\n  gem 'openssl-win-root' if Gem.win_platform?\n```\n\nAnd then execute:\n\n```sh\n  $ bundle\n```\n\nOr install it yourself as:\n\n```sh\n  $ gem install openssl-win-root\n```\n\n## Usage\n\nJust `require 'openssl/win/root'`\n\nIf your project uses `Bundler.require`\n(eg. Ruby on Rails) then just do nothing!\n\nTo test whether SSL works (or not):\n\n```ruby\nrequire 'net/http'\nNet::HTTP.get(URI 'https://ya.ru').length\n```\n\nYou can use fetched certificates in non-Ruby projects\nby setting environment variable\n`SSL_CERT_DIR` to result of `OpenSSL::Win::Root.path`\nor via `-CApath` argument of `openssl` command.\n\n## See also\n\n  * [Win-Ca][] for [Node.js][]\n  * [Rufus::Lua::Win][]\n  * [Ruby on Windows][] Book\n\n## Credits\n\n  * [Ruby][]\n  * [OpenSSL][]\n  * [AppVeyor][]\n\n[Rufus::Lua::Win]: https://github.com/ukoloff/rufus-lua-win\n[Ruby on Windows]: http://rubyonwindowsguides.github.io/\n[Ruby]: https://www.ruby-lang.org/\n[OpenSSL]: https://www.openssl.org/\n[AppVeyor]: http://www.appveyor.com/\n[Win-CA]: https://github.com/ukoloff/win-ca\n[Node.js]: https://nodejs.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukoloff%2Fopenssl-win-root","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukoloff%2Fopenssl-win-root","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukoloff%2Fopenssl-win-root/lists"}