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?
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