Skip to content

willwach/ca.berlin.freifunk.net

This branch is 59 commits behind freifunk-berlin/ca.berlin.freifunk.net:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 22, 2016
Nov 10, 2015
Nov 24, 2015
Nov 23, 2015
Nov 23, 2015
Sep 16, 2015
Sep 26, 2016
Sep 26, 2016
Jan 3, 2016
Oct 10, 2016
Nov 24, 2015
Sep 22, 2016
Dec 22, 2015

Repository files navigation

ca.berlin.freifunk.net

Coverage Status

This project helps us (Freifunk Berlin) to automate the certificate request process. In the past a user requested a certificate for our vpn service VPN03 via the mailinglist which caused a lot of noise on the mailing list and work on the admin side of the process. Today we use a webinterface for user input that lives at https://ca.berlin.freifunk.net. The user provides us with an id and e-mail and generates a certificate request in the database. After the generation of the request an admin has to execute python3 manage.py requests process on the server to create the certificate and send it to the user. To send an already existing certificate again use python3 manage.py certificates send.

See also: python3 manage.py requests --help python3 manage.py certificates --help

Development

Required packages (Ubuntu 14.04)

sudo apt-get install python-virtualenv python-pip python3-dev libffi-dev libssl-dev

Use virtualenv with:

virtualenv env -p python3
. env/bin/activate

Install dependencies with pip:

pip3 install -r requirements.txt

Setup the initial database

./manage.py db init
./manage.py db migrate
./manage.py db upgrade

Note that the default path for the database is in /tmp so you will lose your data when rebooting.

Run the application

python3 manage.py runserver

To change the host you can add the -h 0.0.0.0 parameter.

To change the port you can add the -p 1337 parameter.

All development should be done in Python 3.

About

webinterface for certificate generate e.g for vpn03

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.3%
  • HTML 25.7%
  • CSS 8.0%