Subversion Repositories ALCASAR

Rev

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

Rev 247 Rev 503
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-CA.sh 247 2010-09-13 16:54:46Z franck $
2
# $Id: alcasar-CA.sh 503 2011-03-11 22:12:32Z richard $
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 214... Line 214...
214
echo "$COUNTRY
214
echo "$COUNTRY
215
$PROVINCE
215
$PROVINCE
216
$LOCATION
216
$LOCATION
217
$ORGANIZATION
217
$ORGANIZATION
218
Server certificate for $hostname
218
Server certificate for $hostname
219
$IPADDR
219
$hostname
220
$SRVMAIL" | 
220
$SRVMAIL" | 
221
openssl req -config $DIR_TMP/ssl.conf -new -key $SRVKEY -out $SRVREQ 2>> $DIR_TMP/openssl-log
221
openssl req -config $DIR_TMP/ssl.conf -new -key $SRVKEY -out $SRVREQ 2>> $DIR_TMP/openssl-log
222
 
222
 
223
# Sign the server certificate "request" to create server certificate
223
# Sign the server certificate "request" to create server certificate
224
rm -f $SRVCERT
224
rm -f $SRVCERT