Install privacyIDEA
Page content
privacyIDEA is a Two Factor Authentication System which is multi-tenency- and multi-instance-capable. It is opensource, written in Python and hosted at GitHub.
Configure privacyidea repo
# base os: Debian 9
apt update
apt install dirmngr -y
nano /etc/apt/sources.list.d/privacyidea.list
deb http://lancelot.netknights.it/community/xenial/stable xenial main
wget https://lancelot.netknights.it/NetKnights-Release.asc
apt-key add NetKnights-Release.asc
Install privacyidea
apt update
apt install privacyidea-apache2
ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
nano nano sites-enabled/privacyidea.conf
# enable 80 to 443 redirection
systemctl restart apache2
Create admin user
pi-manage admin add admin -e admin@localhost