When I specify rejectUnauthorized=true and verifyIdentity=false, I still get an error:
const ca = readFileSync(path.join(__dirname, `/ssl-ca/amazon-root-ca-1.pem`)).toString() // RDS Proxy
pool = await createConnection({
host,
user,
password,
database,
port,
ssl: {
ca,
rejectUnauthorized: true,
verifyIdentity: false
}
})