{"id":19492777,"url":"https://github.com/oatpp/oatpp-openssl","last_synced_at":"2025-08-02T07:39:09.439Z","repository":{"id":45306957,"uuid":"237053542","full_name":"oatpp/oatpp-openssl","owner":"oatpp","description":"OpenSSL adaptor for Oat++ applications","archived":false,"fork":false,"pushed_at":"2024-05-19T22:36:33.000Z","size":134,"stargazers_count":14,"open_issues_count":8,"forks_count":25,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-18T19:54:10.789Z","etag":null,"topics":["cpp","oatpp","openssl","tls"],"latest_commit_sha":null,"homepage":"https://oatpp.io/","language":"C++","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/oatpp.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":"2020-01-29T18:28:54.000Z","updated_at":"2024-10-07T00:09:46.000Z","dependencies_parsed_at":"2023-12-18T23:05:50.343Z","dependency_job_id":"a1c0228c-ac35-4369-87fa-0609b0ee0760","html_url":"https://github.com/oatpp/oatpp-openssl","commit_stats":{"total_commits":46,"total_committers":8,"mean_commits":5.75,"dds":"0.32608695652173914","last_synced_commit":"32c6ff8b59406470dbdff6dd65a21b671052abad"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/oatpp/oatpp-openssl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-openssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-openssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-openssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-openssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oatpp","download_url":"https://codeload.github.com/oatpp/oatpp-openssl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-openssl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266617570,"owners_count":23957061,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cpp","oatpp","openssl","tls"],"created_at":"2024-11-10T21:22:59.670Z","updated_at":"2025-08-02T07:39:09.417Z","avatar_url":"https://github.com/oatpp.png","language":"C++","readme":"# oatpp-openssl [![Build Status](https://dev.azure.com/lganzzzo/lganzzzo/_apis/build/status/oatpp.oatpp-openssl?branchName=master)](https://dev.azure.com/lganzzzo/lganzzzo/_build/latest?definitionId=32\u0026branchName=master)\n\nThis submodule provides secure server and client connection providers for oatpp applications. Based on OpenSSL.\n\nMore about oat++:\n- Website: [https://oatpp.io](https://oatpp.io)\n\n## Requires\n\nOpenSSL installed.\n\n### Create server connection provider\n\n```cpp\n\n#include \"oatpp-openssl/server/ConnectionProvider.hpp\"\n#include \"oatpp-openssl/Config.hpp\"\n\n...\n\nconst char* pemFile = \"path/to/file.pem\";\nconst char* crtFile = \"path/to/file.crt\";\n\nauto config = oatpp::openssl::Config::createDefaultServerConfigShared(pemFile, crtFile);\nauto connectionProvider = oatpp::openssl::server::ConnectionProvider::createShared(config, {\"localhost\", 443});\n\n```\n\n### Create client connection provider\n\n```cpp\n\n#include \"oatpp-openssl/client/ConnectionProvider.hpp\"\n#include \"oatpp-openssl/Config.hpp\"\n#include \"oatpp-openssl/configurer/TrustStore.hpp\"\n\n...\n\nconst char* trust = \"path/to/truststore\";\n\nauto config = oatpp::openssl::Config::createDefaultClientConfigShared();\nconfig-\u003eaddContextConfigurer(std::make_shared\u003coatpp::openssl::configurer::TrustStore\u003e(trust, nullptr));\nauto connectionProvider = oatpp::openssl::client::ConnectionProvider::createShared(config, {\"httpbin.org\", 443});\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foatpp%2Foatpp-openssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foatpp%2Foatpp-openssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foatpp%2Foatpp-openssl/lists"}