domtool-addcert: use domtool-config, support non-afs cert/key dirs
[hcoop/domtool2.git] / bootstrap / bootstrap
CommitLineData
0f9f712c
CE
1#!/bin/sh
2
3# Bootstrap everything for a DEVELOPMENT ENVIRONMENT (an insecure one
4# at that), assuming you are going to be domtool root
5
6if [ -z "`getent passwd domtool`" ]; then
7 adduser --disabled-password domtool
8fi
9
10./domtool-create-shared-root
11./domtool-create-local-root
12./domtool-create-ca -force
13./domtool-init-truststore
14./domtool-init-acl `whoami`