Certified Security - Specialty

Sign Up Free or Log In to participate!

EC2 instance (RHEL7) has python code which is used to connect RDS MYSQL to get/send data, my requirement here is how can i make the connection encryption?

EC2 instance has python code which is used to connect RDS MYSQL to get/send data, my requirement here is how can i make the connection encryption?

Can any one suggest me,

1) Encryption can be done by python code alone?

reference link: https://www.percona.com/blog/2013/06/22/setting-up-mysql-ssl-and-secure-connections/

Note: my only doubt here is i am working for a Australian client, is it ok to use aws provided .pem file (will convert that to .crt) (link to download .pem file: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html#UsingWithRDS.SSL.IntermediateCertificates )

 2) along with step1 i need to enforce the encryption as specified in below link

https://github.com/miztiik/AWS-Demos/tree/master/How-To/setup-ssl-connection-to-rds

 appreciate comments

1 Answers

Hi, Check out the following page for how to use SSL with RDS MySQL:

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.SSLSupport

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?