Setting up SSL Certificate using mod_wsgi
<p>I have developed a Django 1.8 application using Python 3.3. I am trying to deploy the application on a university dedicated server with Red Hat Enterprise Linux Server release 7.2 (Maipo). (Note: RHEL does not let me install newer versions of Django and Python)</p>

<p>I had difficulty with installing mod_wsgi using the RHEL Apache and I ended up installing:</p>

<pre><code>pip install -U mod_wsgi-httpd
pip install mod_wsgi
</code></pre>

<p>Everything works perfectly when I use the following setup:</p>

<pre><code>python manage.py runmodwsgi --setup-only --port=80 --user=iman --group=root --server-root=/etc/mod_wsgi-express-80
</code></pre>

<p>However, when I want to setup HTTPS, using the following setup does not return any error message, but the website does not show up neither with http:// nor with https:// prefixes.</p>

<pre><code>python manage.py runmodwsgi --setup-only --port=80 --user=iman --group=root --server-root=/etc/mod_wsgi-express-80 --https-only --https-port=443 --ssl-certificate-file=/etc/sslcert/iman.crt --ssl-certificate-key-file=/etc/sslcert/private/iman.key --ssl-ca-certificate-file=/etc/sslcert/certs/ca-bundle.crt --server-name=iman123.university.edu
</code></pre>

<p>Here are helpful resources that I found about mod_wsgi:</p>

<p><a href="http://modwsgi.readthedocs.org/en/develop/index.html" rel="nofollow">mod_wsgi docs</a></p>

<p><a href="https://github.com/GrahamDumpleton/mod_wsgi" rel="nofollow">GitHub repository</a></p>

<p><a href="https://gist.github.com/GrahamDumpleton/b79d336569054882679e" rel="nofollow">Running HTTPS and client authentication with mod_wsgi-express</a></p>

<p><a href="https://groups.google.com/forum/#!topic/modwsgi/uH-NGPogKFY" rel="nofollow">pip install mod_wsgi-express left out mod_ssl.so</a></p>

<p>Thank you so much for your time and concern and apologies in advance if I am doing something wrong.</p>