Closed evdevdev closed 6 years ago
@earnold, you mention that your RDS connection is managed by OpsWorks. Are you definitely using SSL? As far as I can tell from the docs, one must enable SSL by appending sslmode=require
to the connection string.
In my case I am not connecting using SSL, so the steps I followed were simply to modify my RDS instance to use rds-ca-2015
as the Certificate Authority. If you don't apply immediately this will take effect during the next maintenance window, which is what I did.
Hope that helps!
@fredrikmollerstrand That is an interesting thing that I have not been able to diagnose.
We're using Rails 3.2, which ultimate connects via the pg gem. The sslmode
open is not reflected in the ActiveRecord adaptor, so I suspect it is handled in an underlying thing.
This suggests that there might be SSL going on under the hood.
Likewise, when I use rails dbconsole
it connects via ssl without me specifying it should. But this could be a side effect of psql
?
I recently received an email from AWS explaining that my RDS SSL certificate will be rotated.
However, since my RDS connection is managed by OpsWorks, I was wondering if this would automatically be handled by your recipes?
The original email is pasted below:
Sincerely, The Amazon RDS Team