내용으로 건너뛰기

Update of expired RDS SSL certificate

0

I was notified of the requirement to update my RDS certificates by August 22, 2024. Checking my RDS instance, I note that it has expired in the past. I receive an info message "Your database has lost SSL/TLS connectivity. Modify your database immediately to restore secure connection." This is a production database that has been working properly for clients since the expiry. I am connecting via Python with psycopg2. Is there a best practices method to proceed? Will I potentially compromise access to the database by doing a certificate update? Thanks!

질문됨 2년 전874회 조회

1개 답변
1
수락된 답변

Hello.

This is a production database that has been working properly for clients since the expiry.

I think that the fact that it is working normally even after the certificate has expired means that the application is not using the SSL certificate to connect to RDS.
By the way, if the certificate used by RDS is "rds-ca-2019", it will expire on August 22, 2024.
You can update the RDS certificate by following the steps in the document below.
Please note that updating the SSL certificate may require a restart depending on the database engine version.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html

To determine whether a restart will occur, execute the command below and check the value of "SupportsCertificateRotationWithoutRestart" included in the response.

aws rds describe-db-engine-versions --engine mysql --engine-version <version-numver>

Will I potentially compromise access to the database by doing a certificate update?

Establishing an SSL connection has the advantage of protecting your instance from spoofing attacks.
I think whether or not to use an SSL connection depends on the security requirements of your application.

전문가

답변함 2년 전

전문가

검토됨 2년 전

전문가

검토됨 2년 전

  • Greatly appreciated. Very clear - Thank-you!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠