X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/0f9f712c42a2edc78be0656f2c167265167df48a..64c04e02c688e696b0c3a7a0eb7fd70e2501e9c2:/bootstrap/bootstrap diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index ba59893..b3a6a4f 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e # Bootstrap everything for a DEVELOPMENT ENVIRONMENT (an insecure one # at that), assuming you are going to be domtool root @@ -12,3 +12,11 @@ fi ./domtool-create-ca -force ./domtool-init-truststore ./domtool-init-acl `whoami` +domtool-addcert `uname -n` -unsafe + +/usr/local/sbin/domtool-server & +SERVER_PID=$! + +domtool-adduser `whoami` -unsafe + +kill $SERVER_PID