70765b
--- dovecot-1.0.beta2/doc/mkcert.sh.configfile	2006-01-16 21:14:54.000000000 +0100
70765b
+++ dovecot-1.0.beta2/doc/mkcert.sh	2006-01-26 14:28:38.000000000 +0100
70765b
@@ -29,6 +29,7 @@
70765b
 fi
70765b
 
70765b
 $OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2
70765b
-chmod 0600 $KEYFILE
70765b
+chown root:root $CERTFILE $KEYFILE
70765b
+chmod 0600 $CERTFILE $KEYFILE
70765b
 echo 
70765b
 $OPENSSL x509 -subject -fingerprint -noout -in $CERTFILE || exit 2