AWS-DocumentDB-instance-certificates-rotated
Severity: Medium
Description: This control checks for Latest CA Certificate. This is control ensure that your DocumentDB is using the latest version of Amazon Root CA i.e 2019. Using an expired SSL certificate is equally vulnerable as of using plain TCP connection.
Remediation Steps:
Perform following to update DocumentDB certificates:
Step 1: Download the new CA
Download the new CA certificate and update your application to use the new CA certificate to create TLS connections to Amazon DocumentDB. Download the new CA certificate bundle from:Â https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem. This operation downloads a file namedÂ
rds-combined-ca-bundle.pem
.wget https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
Step 2 : Update the server certificate
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to DocumentDB console.
From the list of regions in the upper right of the screen, choose the region in which cluster(s) reside.
Select Certificate maintenance. If a cluster that requires the server certificate to be updated, will have a red badge next to Certificate maintenance with a number indicating the number of clusters that need to be upgraded.
The resulting Pending Certificate Maintenance Available page lists the clusters that need server certificate updates. Select a cluster to update.
Choose Schedule to upgrade certificate in the next maintenance window or choose Apply now to upgrade certificate immediately.
Once all of the cluster(s) in the account, for a given region, have been updated to use the latest TLS certificate, green badge appear on the left-hand side of the console under Certificate maintenance.
Important:
Latest CA certificate Reported by Amazon: rds-ca-2019.
 Applying the maintenance to your cluster(s) will require that the instances are rebooted, which may cause service disruption
Reference:
Updating your Amazon DocumentDB TLS certificates - Amazon DocumentDB
Blue Hexagon Proprietary