graphite-web
graphite-web copied to clipboard
[Q] how to enable SSL communication with RDS MySQL db with certificate bundle
Hello Team,
We have configured graphite web with external Aws RDS MySQL engine and it is working fine.
Now we need to secure with coumunication between graphite and RDS, to do so we have enable SSL encryption from RDS and downloaded the certificate bundle.
Im trying to find the graphite web configuration how to add certificate in database configuration.
ref aws doc: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-ssl-connections.html
The Graphite system utilizes Django, so the answer is with how to do it with Django. In your localsettings.py, inside the DATABASES dict, there's some options that can be added for SSL.
I haven't tested it, but the answers in here is where I'd start: https://stackoverflow.com/a/12285601