{"id":20162353,"url":"https://github.com/mysqljs/aws-ssl-profiles","last_synced_at":"2025-04-10T00:35:52.056Z","repository":{"id":232549306,"uuid":"784506501","full_name":"mysqljs/aws-ssl-profiles","owner":"mysqljs","description":"AWS RDS SSL certificates bundles.","archived":false,"fork":false,"pushed_at":"2024-08-30T01:20:10.000Z","size":185,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T02:21:46.334Z","etag":null,"topics":["aws","bundle","ca","nodejs","rds","ssl-certificates"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mysqljs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-10T01:28:25.000Z","updated_at":"2024-11-21T07:16:08.000Z","dependencies_parsed_at":"2024-04-17T16:39:18.163Z","dependency_job_id":"1406350b-ea63-4104-b90e-b3137eef15b0","html_url":"https://github.com/mysqljs/aws-ssl-profiles","commit_stats":null,"previous_names":["mysqljs/aws-ssl-profiles"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysqljs%2Faws-ssl-profiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysqljs%2Faws-ssl-profiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysqljs%2Faws-ssl-profiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysqljs%2Faws-ssl-profiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysqljs","download_url":"https://codeload.github.com/mysqljs/aws-ssl-profiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137843,"owners_count":21053770,"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":["aws","bundle","ca","nodejs","rds","ssl-certificates"],"created_at":"2024-11-14T00:24:33.534Z","updated_at":"2025-04-10T00:35:52.037Z","avatar_url":"https://github.com/mysqljs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS SSL Profiles\n\n[**AWS RDS**](https://aws.amazon.com/rds/) **SSL** Certificates Bundles.\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [**mysqljs/mysql**](#mysqljsmysql)\n  - [**MySQL2**](#mysql2)\n  - [**node-postgres**](#node-postgres)\n  - [Custom `ssl` options](#custom-ssl-options)\n- [License](#license)\n- [Security](#security)\n- [Contributing](#contributing)\n- [Acknowledgements](#acknowledgements)\n\n---\n\n## Installation\n\n```bash\nnpm install --save aws-ssl-profiles\n```\n\n---\n\n## Usage\n\n### [mysqljs/mysql](https://github.com/mysqljs/mysql)\n\n```js\nconst mysql = require('mysql');\nconst awsCaBundle = require('aws-ssl-profiles');\n\n// mysql connection\nconst connection = mysql.createConnection({\n  //...\n  ssl: awsCaBundle,\n});\n\n// mysql connection pool\nconst pool = mysql.createPool({\n  //...\n  ssl: awsCaBundle,\n});\n```\n\n### [MySQL2](https://github.com/sidorares/node-mysql2)\n\n```js\nconst mysql = require('mysql2');\nconst awsCaBundle = require('aws-ssl-profiles');\n\n// mysql2 connection\nconst connection = mysql.createConnection({\n  //...\n  ssl: awsCaBundle,\n});\n\n// mysql2 connection pool\nconst pool = mysql.createPool({\n  //...\n  ssl: awsCaBundle,\n});\n```\n\n### [node-postgres](https://github.com/brianc/node-postgres)\n\n```js\nconst pg = require('pg');\nconst awsCaBundle = require('aws-ssl-profiles');\n\n// pg connection\nconst client = new pg.Client({\n  // ...\n  ssl: awsCaBundle,\n});\n\n// pg connection pool\nconst pool = new pg.Pool({\n  // ...\n  ssl: awsCaBundle,\n});\n```\n\n### Custom `ssl` options\n\nUsing **AWS SSL Profiles** with custom `ssl` options:\n\n```js\n{\n  // ...\n  ssl: {\n    ...awsCaBundle,\n    rejectUnauthorized: true,\n    // ...\n  }\n}\n```\n\n```js\n{\n  // ...\n  ssl: {\n    ca: awsCaBundle.ca,\n    rejectUnauthorized: true,\n    // ...\n  }\n}\n```\n\n### Custom bundles\n\n```js\nconst { proxyBundle } = require('aws-ssl-profiles');\n\n{\n  // ...\n  ssl: proxyBundle,\n}\n```\n\n---\n\n## License\n\n**AWS SSL Profiles** is under the [**MIT License**](./LICENSE).\n\n---\n\n## Security\n\nPlease check the [**SECURITY.md**](./SECURITY.md).\n\n---\n\n## Contributing\n\nPlease check the [**CONTRIBUTING.md**](./CONTRIBUTING.md) for instructions.\n\n---\n\n## Acknowledgements\n\n[**Contributors**](https://github.com/mysqljs/aws-ssl-profiles/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysqljs%2Faws-ssl-profiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysqljs%2Faws-ssl-profiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysqljs%2Faws-ssl-profiles/lists"}