Subversion Repositories ALCASAR

Rev

Rev 2813 | Rev 2922 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2813 Rev 2814
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-CA.sh 2813 2020-04-26 21:26:32Z rexy $
2
# $Id: alcasar-CA.sh 2814 2020-04-27 22:02:20Z rexy $
3
 
3
 
4
# alcasar-CA.sh
4
# alcasar-CA.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#
7
#
Line 173... Line 173...
173
if [ $hostname_len -gt 36 ];
173
if [ $hostname_len -gt 36 ];
174
then
174
then
175
	hostname=`echo $hostname | cut -d '.' -f 1`
175
	hostname=`echo $hostname | cut -d '.' -f 1`
176
fi
176
fi
177
 
177
 
178
CAMAIL=ca@$hostname
178
CAMAIL=
179
SRVMAIL=apache@$hostname
179
SRVMAIL=
180
 
180
 
181
echo 01 > $DIR_TMP/serial
181
echo 01 > $DIR_TMP/serial
182
touch $DIR_TMP/index.txt
182
touch $DIR_TMP/index.txt
183
 
183
 
184
# CA key
184
# CA key