Sebastian Held patches15/0043-fix-CA-setup.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7345 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -150,7 +150,8 @@ make_certs(){
|
||||
echo_warning "erase all existing certificates as long as the CA is regenerated"
|
||||
$SUDO rm -f $certs_dir/*.pem
|
||||
$SUDO mkdir -p $certs_dir/demoCA/
|
||||
$SUDO sh -c "echo 01 > $certs_dir/demoCA/index.txt"
|
||||
$SUDO touch $certs_dir/demoCA/index.txt
|
||||
$SUDO sh -c "echo 01 > $certs_dir/demoCA/serial"
|
||||
|
||||
# CA self certificate
|
||||
$SUDO openssl req -new -batch -x509 -days 3650 -nodes -newkey rsa:1024 -out cacert.pem -keyout cakey.pem -subj /CN=$fqdn/C=FR/ST=PACA/L=Aix/O=Eurecom/OU=CM
|
||||
|
||||
Reference in New Issue
Block a user