Subversion Repositories ALCASAR

Rev

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

Rev 2703 Rev 2737
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-CA.sh 2703 2019-03-05 21:59:02Z tom.houdayer $
2
# $Id: alcasar-CA.sh 2737 2019-06-04 22:11:57Z 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 191... Line 191...
191
echo "$COUNTRY
191
echo "$COUNTRY
192
$PROVINCE
192
$PROVINCE
193
$LOCATION
193
$LOCATION
194
$ORGANIZATION
194
$ORGANIZATION
195
Certification Authority for $hostname
195
Certification Authority for $hostname
196
ALCASAR-local-CA
196
$hostname-local-CA
197
$CAMAIL" | 
197
$CAMAIL" | 
198
openssl req -config $DIR_TMP/ssl.conf -new -x509 -sha256 -days $CACERT_LIFETIME -key $CAKEY -out $CACERT 2>> $DIR_TMP/openssl-log
198
openssl req -config $DIR_TMP/ssl.conf -new -x509 -sha256 -days $CACERT_LIFETIME -key $CAKEY -out $CACERT 2>> $DIR_TMP/openssl-log
199
 
199
 
200
# Server key
200
# Server key
201
rm -f $SRVKEY	
201
rm -f $SRVKEY