Skip to content

Instantly share code, notes, and snippets.

View jackson-elfers's full-sized avatar

jackson-elfers

  • Eastern Washington
View GitHub Profile
@jackson-elfers
jackson-elfers / index.js
Last active January 2, 2020 03:41
Update Your Amazon RDS SSL/TLS Certificates by February 5, 2020 nodejs, mysql
```
AWS will be updating ssl certs next month and have set a hard deadline of Feb 5th 2020.
If working with nodejs and the mysql npm package you'll need to obtain the newest
cert to connect via ssl. Below shows how to connect your cert using the ssl option.
Obtain the cert from AWS here (CA-2019):
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
```
require('dotenv').config();
const fs = require("fs");