$ pip install pivportal
$ pivportal -p 8088 -l 127.0.0.1
Example /etc/pivportal-server.conf:
authorized_users - List of authorized user DN's and mapping to the unix username
listen_address - Listen IP Address
port - TCP Port to run service on
---
authorized_users: {"dn1": "user1", "dn2": "user2"}
listen_address: 127.0.0.1
redis: "redis://localhost:6379/0"
port: 8088
register_ticket_timeout: 60