MySQL in RDS not enforcing SSL even when require_secure_transport parameter is set to true

0

I have a MySQL instance in RDS and I have created a parameter group and set require_secure_transport parameter to 1. Since it's a dynamic parameter, I was expecting it to take effect automatically, but it didn't, even after 30 minutes. I tried restarting the database instance, even then when I connect from mysql CLI, it doesn't enforce. It just works fine without any SSL certificate. Where am I going wrong?

Thanks in advance.

Velu
gefragt vor 9 Monaten594 Aufrufe
4 Antworten
0

Hello.
As you recognize, it is a dynamic parameter, so I don't think a restart is necessary.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-ssl-connections.html

Just to be sure, is the parameter group set in the RDS correct?
Are you editing different parameter groups?

profile picture
EXPERTE
beantwortet vor 9 Monaten
  • Yes, I have set the right parameter group in RDS. I have already used the same parameter group to change the timezone and restarted and it worked fine.

0

Hi,

According to the AWS documentation and MySQL documentation, you must set the require_secure_transport parameter value to ON (Not “1”) to require SSL/TLS for connections to your DB instance. Could you check it?

profile picture
EXPERTE
beantwortet vor 9 Monaten
  • Since it's a boolean data type, AWS console shows a list with two values 1 and 0. There is no way to enter value manually. And I assume, being boolean, 1 should mean ON or true.

0

I have the same issue, and I have also rebooted the RDS instance.

SSL is not enforced when require_secure_transport is set to 1 ( which is ON).

beantwortet vor 9 Monaten
0

I am facing the same issue. Even for PostgreSQL as well. Have anyone found the solution?

Kai
beantwortet vor 17 Tagen

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen