domtool-addcert: use domtool-config, support non-afs cert/key dirs
authorClinton Ebadi <clinton@unknownlamer.org>
Fri, 25 Apr 2014 21:32:50 +0000 (17:32 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Fri, 25 Apr 2014 21:32:50 +0000 (17:32 -0400)
commit9e3f2290d1fddb64c59de3d265e9228a334e9682
tree960fec64dbdf787113e9622998b3e737abb98bf7
parent46ff8d372bdb6b66c61ad0a9e7f574396c27f2e1
domtool-addcert: use domtool-config, support non-afs cert/key dirs

Removed `chown -R domtool.nogroup' calls since they are meaningless in
afs and incorrect on normal file systems. chown -R the key dir to the
user.nogroup unless `-unsafe' is passed, which allows the creation of
useless keys (the user running the script can read the key instead of
the intended user, which is ok for development).

Still needs improvement.
scripts/domtool-addcert