Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a django app that I'm trying to serve over a secure connection. Apache's ssl engine and my certificate are definately working, as my static media is served over a secure connection.

However when a request comes from django, firefox suddenly says the site is not secure.

My vhost looks like this (with simplified paths):

<VirtualHost *:443>
        ServerAdmin webmaster@localhost

        SSLEngine on
        SSLCertificateFile      /path/to/cert.pem
        SSLCertificateKeyFile   /path/to/privatekey.pem

        DocumentRoot /var/www/

        Alias /static/myapp/ /path/to/myapp/static/

        WSGIScriptAlias / /path/to/myapp.wsgi

        ErrorLog /path/to/error.log
        LogLevel warn
        CustomLog /path/to/access.log combined

Any ideas why this might happen/what I can do about it?

share|improve this question
up vote 0 down vote accepted

Ye gods, made a stupid error there.

Firefox is saying the page is not secure because I'm linking to jquery from a cdn, which of course isn't secure!

If I put jquery in my static files Its all fine.

Feel a bit silly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.