Django mysql over ssl (2026, 'SSL connection error: Failed to set ciphers to use')

844 views
Skip to first unread message

al...@doctuo.com

unread,
Oct 30, 2013, 1:31:31 PM10/30/13
to django-d...@googlegroups.com
Hy, 

Summary:
    I'm getting this error "(2026, 'SSL connection error: Failed to set ciphers to use')", on the django error page and I don't know what i happening!!!


I'm using apache / wsgi and my aplication it's on a virtualenv.

The main problem is that I can't connect to a remote mysql over ssl.

The first think checked was the ssl configuration... but it's all rigth becouse I can run all django commands, (runserver too) without any problem, and the aplications it's connecting to the remote database over ssl correctly.

The next think checked was runserver response and the application doesn't raise any error...  it works perfectly...

With that two points i can see that the problem is in the wsgi,  specifically with the libraries that load to run the application becouse it's the only think that I can see that is diferent from a runserver (executed inside the virtualenv)

Anyone have had the same problem or can give me ant clue, I'm spending a lot of hours tryng to solve that.

The next test will be change to nginx to see if the problem persist.. 

Florian Apolloner

unread,
Oct 30, 2013, 3:24:51 PM10/30/13
to django-d...@googlegroups.com
Hi,

this mailing list is about the development of Django itself; please post your questions to django-users -- also read https://code.google.com/p/modwsgi/wiki/ApplicationIssues#SSL_Shared_Library_Conflicts

Regards,
Florian
Reply all
Reply to author
Forward
0 new messages