Commit 2ed3a851 authored by Kat Hößel's avatar Kat Hößel
Browse files

(uninett) Add script for setting up the auth container

parent 5d0d62ca
This diff is collapsed.
# create JWT cert (public+private key) on auth server
cd /opt/auth-server-poc/cert/
openssl ecparam -genkey -name prime256v1 -noout -out private.pem
openssl ec -in private.pem -pubout -out public.pem
chgrp www-data private.pem
chmod g+r private.pem
echo "cnaas:\$apr1\$F5MhM0EK\$Jeo6iMO9bubcMPI0Dth6N1" > /opt/auth-server-poc/userdb/.htpasswd
killall uwsgi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment