5 CONFIG=$HOME/.tldbuilderrc
6 [ -f "$CONFIG" ] && . $CONFIG
7 [ -n "$BUILDERPATH" ] || BUILDERPATH="$HOME/tld-builder/"
10 if [ -d "$BUILDERPATH" ]; then
13 echo "the $BUILDERPATH directory does not exist"
18 if [ -f "$BUILDERPATH/config/global" ]; then
19 . $BUILDERPATH/config/global
22 echo "Generating self-signed certificate for request handler server"
24 openssl req -x509 -nodes -days 3650 \
26 -keyout $BUILDERPATH/config/request-server.key \
27 -out $BUILDERPATH/config/request-server.crt \
38 openssl x509 -in $BUILDERPATH/config/request-server.crt \
39 -noout -text -nameopt sep_multiline