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
asked 9 months ago544 views
3 Answers
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
EXPERT
answered 9 months ago
  • 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
EXPERT
answered 9 months ago
  • 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).

answered 8 months 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