Hey,

I'd like to ensure that all communications between my Django app and its
database occur over SSL. I'm using MySQL as a backend, and have configured
the server with SSL support. Given that Django uses MySQLdb as its MySQL
client, I know that I can get an encrypted connection with:

db=MySQLdb.connect(user="blah",passwd="blah",db="blah",ssl={'ca':'/path/to/ca.pem'})

I could modify the call to Database.connect() in
django/db/backends/mysql/base.py, but that's not the most elegant
implementation. Does anyone have ideas on how to proceed in a
Django-approved fashion?

Thanks,
Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to