Commit 2f240bb4 authored by gauthier's avatar gauthier

git-svn-id: 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 ]
echo "Creating non existing directory: /usr/local/etc/freeDiameter/"
sudo mkdir /usr/local/etc/freeDiameter/
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=$
# 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