Redshift external schema connection fails when updating RDS certificate authority

0

Hello, We have several RDS databases connected to our Redshift cluster using external schemas that have been working well for several months. A few days ago, I updated the certificate authority on our MySQL Community (8.0.28) from "rds-ca-2019" to ""rds-ca-ecc384-g1" as recommended by the RDS console and the external schema connection immediately broke (it showed zero tables). Once I reverted the certificate back, the connection started working again. Updating the certificate in my Postgres databases did not break their external schemas, only the MySQL one. I don't see any configuration or options that may help with this, but maybe I missed something. Anybody else have similar experiences or potential solutions?

thanks!

jkehoe
已提問 7 個月前檢視次數 327 次
1 個回答
0
已接受的答案

Hello Team!

We hope you are well.

We understand that the Redshift External Schema connection fails after updating the RDS certificate authority to 'rds-ca-ecc384-g1'. This is caused by a failed SSL handshake between Redshift and RDS. This error is related to the recently updated CA: rds-ca-ecc384-g1 as Aurora Postgres DOES NOT support ECDHE-ECDSA ciphers which are required for ECC-based certificates i.e Redshift External Schema connections.

You can refer to the following documentation for more information: [+] https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Security.html#AuroraPostgreSQL.Security.SSL

Internally, we are working on adding support for this in a future release.

To remediate this issue temporarily, we suggest you to consider switching to a different certificate such as "rds-ca-rsa4096-g1" or "rds-ca-rsa2048-g1" and reboot the RDS cluster. Once the instances are rebooted, reattempt connections through Redshift federated query.

[+] Using SSL/TLS to encrypt a connection to a DB cluster - Certificate authorities - https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html#UsingWithRDS.SSL.RegionCertificateAuthorities

If the issue persists after changing to a different certificate, please raise a Support Case with the AWS team with the timestamp of the error, Redshift logs, as well as the exact error message received when attempting federated query connections through Redshift.

If a support case has already been created, please be assured that we will get back to you and assist you in the best way possible. [+] Creating support cases and case management - https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

AWS
已回答 7 個月前
profile pictureAWS
專家
已審閱 6 個月前
  • Thanks for the response! Just for clarity, the RDS database is not an Aurora Postgres instance. It is a MySQL RDS database. I'm assuming it's still the same issue though. Thanks!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南