How can I use SSL with django?

Do I need to use an SSL to use https (web development)?

  • I am learning some web development skills. Currently using paypal sandbox. When the customer clicks' return to site' after making a payment, the following message comes up, in the browser: An error occurred during a connection to www.mydomain.co.uk SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) I got the following response from paypal: No, this problem is caused by your webserver returning non-SSL data for a HTTPS link. For example, if https://www.mydomain.co.uk/return.html return plain HTTP data, rather than the HTTPS data your browser would expect. To resolve this, you would either need to check your SSL configuration within your webserver, or resort to using a non-HTTPS link for your 'return' link within the PayPal button. I am using a shared server. If I don't have an SSL certficate installed, will this cause that problem? Thanks :) (I'm still learning)

  • Answer:

    Yes, that problem is caused by a lack of, or invalid SSL certificate. HTTPS stands for Hyper Text Transfer Protocol Secure, and when an SSL (Secure Sockets Layer) is either missing or invalid the browser will think that the site is unsecure and will warn the user of this.

Alex at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

If your site doesn't use SSL then don't use https... If it does then contact your hosting company because if you're using shared then most likely its something they need to fix.

Adam Lacombe

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.