Certificate rotation for SSL Amazon document DB connection

0

Hello there

Trying to make SSL connections to Amazon DocumentDB here

According to this guide https://docs.aws.amazon.com/documentdb/latest/developerguide/connect_programmatically.html#connect_programmatically-tls_enabled

A jks file is created containing trusted certificates for SSL connections, my concern here is I see that some certificates are expiring on 2024 and 2025 SSL certificates

Do I need to worry about updating jks on a yearly basis or I can rely on root and intermediary certificates that would only expire as soon as 2061 and forget about updating jks with newer certificates?

Fadi
asked 2 months ago436 views
1 Answer
0

When it comes to SSL/TLS certificate rotation for Amazon DocumentDB connections, you don't need to worry about updating the entire JKS file every year. The approach you can take is to focus on the root and intermediate certificates, which typically have much longer expiration dates.

Here are a few key points to consider:

  1. Root and Intermediate Certificates: The root and intermediate certificates used by Amazon DocumentDB are the ones that have much longer expiration dates, often in the range of 2061 or beyond. These are the certificates that you can rely on and don't need to update frequently.

  2. Server Certificates: The server certificates used by Amazon DocumentDB may have shorter expiration dates, such as 2024 or 2025 as you've mentioned. However, these server certificates are automatically rotated and updated by Amazon DocumentDB, so you don't need to worry about updating the JKS file with new server certificates.

  3. JKS File Updates: Since the root and intermediate certificates have much longer expiration dates, you typically don't need to update the JKS file on a yearly basis. As long as the root and intermediate certificates in the JKS file are still valid, your application should be able to establish secure SSL/TLS connections to Amazon DocumentDB without any issues.

  4. Monitoring and Proactive Updates: While you don't need to update the JKS file regularly, it's a good practice to monitor the certificate expiration dates and plan for any necessary updates well in advance. You can set up alerts or reminders to check the certificate expiration dates before they become a concern.

In summary, for your Amazon DocumentDB SSL/TLS connections, you can rely on the root and intermediate certificates in the JKS file, and you don't need to worry about updating the JKS file on a yearly basis. Focus on monitoring the certificate expiration dates and plan for any necessary updates well in advance to ensure the ongoing security of your connections.

AWS
JonQ
answered 5 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions