- Newest
- Most votes
- Most comments
The error you're encountering is a known issue when trying to rotate certificates on RDS instances. Based on similar cases, there are a couple of approaches you can try:
- When rotating the certificate, make sure you're not trying to change other parameters at the same time. One user found that when they were attempting to update both the certificate authority and the minor version simultaneously, they received this error. Try modifying only the certificate authority without changing any other parameters:
aws rds modify-db-instance \
--db-instance-identifier REDACTED \
--ca-certificate-identifier rds-ca-rsa2048-g1 \
--apply-immediately
- If you're still encountering issues with the AWS CLI, you can try using the AWS Management Console to perform the certificate rotation. Navigate to your RDS instance, select "Modify," and update only the CA certificate to one of the new options (rds-ca-rsa2048-g1, rds-ca-rsa4096-g1, or rds-ca-ecc384-g1).
Remember that before updating your DB instances to use the new CA certificate, you should update any clients or applications that connect to your RDS databases to ensure they can recognize the new certificate.
If these approaches don't work, you may need to contact AWS Support for further assistance, as the expired certificate situation might require special handling.
Sources
RDS Certificate Authority EOL update not working | AWS re:Post
Certificate issue in RDS "Preview environment" | AWS re:Post
Rotating your SSL/TLS certificate - Amazon Aurora
Certificate rds-ca-2019 is no longer available in ca-central-1. I suspect AWS has to perform additional maintenance before your change can be made even through it's not appearing in maintenance window. If you have AWS Support plan, best to raise a ticket there.
Relevant content
asked 3 years ago
asked 4 years ago
