Commit 2f240bb4 authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6334 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e1115a3a
......@@ -60,6 +60,14 @@ openssl req -new -batch -out hss.csr.pem -key hss.key.pem -subj /CN=hss.$REALM/C
# Certification authority
openssl ca -cert cacert.pem -keyfile cakey.pem -in hss.csr.pem -out hss.cert.pem -outdir . -batch
if [ ! -d /usr/local/etc/freeDiameter ]
then
echo "Creating non existing directory: /usr/local/etc/freeDiameter/"
sudo mkdir /usr/local/etc/freeDiameter/
fi
sudo cp -upv cakey.pem hss.cert.pem cacert.pem /usr/local/etc/freeDiameter/
# openssl genrsa -out $hss.key.pem 1024
# openssl req -new -batch -out $hss.csr.pem -key $hss.key.pem -subj /CN=$hss.test.fr/C=FR/ST=Biot/L=Aix/O=test.fr/OU=mobiles
# openssl ca -cert cacert.pem -keyfile cakey.pem -in $hss.csr.pem -out $hss.cert.pem -outdir . -batch
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment