-if ! [ -e /etc/domtool ]; then
- echo "/etc/domtool not found. Are you running this on the same machine as domtool-server?"
+if ! [ -e `domtool-config -path cert ca` ]; then
+ echo "domtool ca not found. Are you running this on the same machine as domtool-server?"