Provides the Amazon RDS 2019 CA certificate for use with the mysql npm module. Version 1.0.1 is the current stable release. This package is a stopgap until the mysql module officially supports custom CA certificates. It is a single file containing the PEM-encoded certificate. Not recommended for new projects; prefer using mysql2 which supports SSL natively.
npm install mysql-rds-caNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates connecting to Amazon RDS MySQL using the 2019 CA certificate for SSL.
Check your RDS instance's CA certificate setting in AWS Console.
Use mysql2 or mysql2/promise instead of mysql.
Use require() or dynamic import() with default export.
Pass only the ca property; do not mix with other ssl options unless you have corresponding key and cert.
Ensure the certificate is loaded correctly using require('mysql-rds-ca') and passed to ssl.ca.Update your RDS instance to use the 2019 CA certificate, or use the appropriate CA file.
Use require('mysql-rds-ca') in CommonJS or use dynamic import() in ESM: const ca = (await import('mysql-rds-ca')).default;No dependency data recorded yet.