Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SSL in RDS Requests by Datadog #175

Open
joyliu-q opened this issue Oct 15, 2023 · 1 comment
Open

Enable SSL in RDS Requests by Datadog #175

joyliu-q opened this issue Oct 15, 2023 · 1 comment

Comments

@joyliu-q
Copy link
Contributor

Right now, Datadog is connecting to the database with no encryption of the password.

FATAL: no pg_hba.conf entry for host "[IP_ADDRESS]", user "datadog", database "postgres", no encryption

Because RDS configuration of postgres 15 by default requires SSL, Datadog's connection requests would be rejected and it will keep trying to connect, spamming the database.

We currently disabled this SSL requirement but need to fix it long-term by enabling SSL in RDS requests made by Datadog.

Method

When renewing certificate for RDS, we may need to export the public key from database, add the ca certificate to Datadog.

@esinx
Copy link
Member

esinx commented Oct 15, 2023

In future, we may want to add ?sslmode=require in the client URI to make sure that SSL compatible clients use SSL to connect to the RDS instance. Postgres won't tell you what went wrong with the client's attempt to connect, we just have to make sure that we are using SSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants