This project was forked from https://github.com/dkerwin/django-pki and adapted for version 1.8.1 of Django. It is full worked project with system authentification and users accounts.
- git clone https://github.com/yaricp/django1.8.1-pki.git
- cd django1.8.1-pki
- virtualenv venv
- source venv/bin/activate
- pip install -r requirements.txt
- python manage.py syncdb
- python manage.py loaddata eku_and_ku.json
For debugging start with env variable DJANGO_DEBUG=true
env DJANGO_DEBUG=true python manage.py runserver
For main mode on work server start:
python manage.py runserver yourservername.com:80
or use UWSGI
The main settings of project is in settings.py in root directory.
For example if you want have authorization through LDAP server you need use variables with AUTH_LDAP_ prefix
For default settings of your certificates use variables with PKI_ prefix
Main settings of certificates is in /etc/ssl.conf or /usr/local/etc/ssl.conf depends of your system.