Add "umask 027" to prevent the certificates from being world-readable.
[freeradius.git] / raddb / certs / bootstrap
1 #!/bin/sh
2 #
3 #  This is a wrapper script to create default certificates when the
4 #  server first starts in debugging mode.  Once the certificates have been
5 #  created, this file should be deleted.
6 #
7 #  Ideally, this program should be run as part of the installation of any
8 #  binary package.  The installation should also ensure that the permissions
9 #  and owners are correct for the files generated by this script.
10 #
11 #  $Id$
12 #
13 umask 027
14 cd `dirname $0`
15 make ca server dh random