Pre-create key file with the correct mask.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 6 Apr 2010 15:11:30 +0000 (15:11 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 6 Apr 2010 15:11:30 +0000 (15:11 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3248 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/keygen.sh

index a8cd80f..16234a1 100755 (executable)
@@ -60,7 +60,8 @@ subjectAltName=$ALTNAME
 subjectKeyIdentifier=hash
 EOF
 
-umask 177
+touch sp-key.pem
+chmod 600 sp-key.pem
 if [ -z "$BATCH" ] ; then
     openssl req -config sp-cert.cnf -new -x509 -days $DAYS -keyout sp-key.pem -out sp-cert.pem
 else