Question moved to Serverfault ( https://serverfault.com/questions/346125/ssl-error-rx-record-too-long-ff-django-startssl-windows )
Feel free to delete this on if that’s more appropriate (I don’t know what the convention is).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
(That’s a question for ServerFault more than StackOverflow.)
If I understand correctly, you’ve set up Django with SSL on port 8082 and without SSL on port 8081.
It’s often not necessary to secure the communication between the Apache Httpd server and the server behind
ProxyPass, from localhost to localhost. You could simply useProxyPass http://127.0.0.1:8081/.Alternatively, if you really want to use SSL/TLS for the communication to the backend (typically, if the server in the back is remote), you’d need to use
ProxyPass https://127.0.0.1:8082/(https) and set theSSLProxy*directives (see mod_proxy summary).