graphite-web icon indicating copy to clipboard operation
graphite-web copied to clipboard

[Q] how to enable SSL communication with RDS MySQL db with certificate bundle

Open rizwannadeemupwork opened this issue 10 months ago • 1 comments

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

rizwannadeemupwork avatar Mar 29 '24 00:03 rizwannadeemupwork

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

cbowman0 avatar Mar 29 '24 01:03 cbowman0