0
1

Hi,

I would like to set up a Django application to be fully secure. That is to say only available with SSL. If the user types in http://example.com they should be redirected to https://example.com . I don't want the user to get a warning that the certificate is not for my domain so I assume that means I need to provide my own certificate? How do I set that up? What Django settings and Webfaction control panal settings need to be set for this to work?

Thanks!

asked 09 Nov '10, 17:29

Adam's gravatar image

Adam
1858
accept rate: 0%


You create a "Static/PHP/CGI" application that only holds a redirect to https://domain.com and mount it to http://domain.com. The django app would be mounted to https://domain.com with another website record.

http://docs.webfaction.com/software/static.html#redirect-a-domain-with-a-static-cgi-php-app

As for the certificate you must send us a support ticket. Your account will need a Dedicated IP address for each custom certificate you want us to install, they are 5$ a month and we can enable it anytime.

link

answered 09 Nov '10, 18:54

johns's gravatar image

johns ♦♦
4.1k28
accept rate: 23%

edited 09 Nov '10, 18:55

Does this 5$ certificate work with subdomains, or are those separate certificates?

(22 Oct '13, 10:00) misterte misterte's gravatar image

John wasn't referring to a $5 certificate - we do not sell certificates.

He was referring to a $5 dedicated IP address - however, since Nov 2010 when he posted that answer, dedicated IPs are no longer a strict requirement for SSL (unless you need to support visitors using legacy operating systems and browsers).

(22 Oct '13, 13:36) seanf ♦♦ seanf's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×743
×51
×44

Asked: 09 Nov '10, 17:29

Seen: 4,219 times

Last updated: 22 Oct '13, 13:36

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited