RDS Postgres instances have an auto-generated SSL certificate that uses the endpoint name as the certificate common name. Creating an SSL connection to the instance using that auto-generated certificate is trivial.
Is it possible to update the existing certificate, or generate and additional certificate, so that a domain alias can be used for the endpoint when initialing an SSL connection, rather than the endpoint name?
e.g. I have a domain alias setup as testdb.mydomain.com CNAME testd.abcd1234hj1.us-east-1.rds.amazonaws.com and want to be able to initiale an SSL connection to testdb.mydomain.com
I use domain name aliases for my AWS RDS Postgres instance endpoints e.g. testdb.mydomain.com CNAME testdb.abcd1234asds.us-east-1.rds.amazonaws.com