Skip to content

awsCaBundle not working as intended for import RDS cert #2869

Closed as not planned
@mrajasekar-godaddy

Description

@mrajasekar-godaddy

Hi Team,

Currently We are using promise-mysql which is a wrapper function of mysqljs

Currently when I use ssl: awsCaBundle to pull in the new cert in 2 possible ways

host: response.host, port: response.port, user: response.username, password: response.password, timezone: 'Z', ssl: { ca: awsCaBundle.ca, }, database: 'Hub' }

and

host: response.host, port: response.port, user: response.username, password: response.password, timezone: 'Z', ssl: awsCaBundle, database: 'Hub' }

Both doesn't work and it fails to connect to the Database.

Can someone help on this ? Is there is an issue with the imports ? or the way it's accessed.

CC: @wellwelwel For visibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions