From 9355fa67657aae019f99c09d412cadf43890feff Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Wed, 14 Jan 2015 21:48:03 +0000 Subject: [PATCH] git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6376 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/OPENAIRHSS/conf/hss_fd.conf | 7 +++---- openair-cn/OPENAIRHSS/conf/make_certs.sh | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/openair-cn/OPENAIRHSS/conf/hss_fd.conf b/openair-cn/OPENAIRHSS/conf/hss_fd.conf index aea806aafc..4b93700fe0 100644 --- a/openair-cn/OPENAIRHSS/conf/hss_fd.conf +++ b/openair-cn/OPENAIRHSS/conf/hss_fd.conf @@ -1,15 +1,14 @@ # -------- Local --------- # Uncomment if the framework cannot resolv it. -Identity = "script_will_change_hostname.pft"; +Identity = "UBUNTUPC.pft"; #ListenOn = "127.0.0.1"; # TLS configuration (see previous section) -TLS_Cred = "/usr/local/src/openair4G/trunk/openair-cn/OPENAIRHSS/conf/hss.cert.pem", -"//usr/local/src/openair4G/trunk/openair-cn/OPENAIRHSS/conf/hss.key.pem"; -TLS_CA = "/usr/local/src/openair4G/trunk/openair-cn/OPENAIRHSS/conf/cacert.pem"; +TLS_Cred = "/usr/local/etc/freeDiameter/hss.cert.pem", "/usr/local/etc/freeDiameter/hss.key.pem"; +TLS_CA = "/usr/local/etc/freeDiameter/cacert.pem"; # Disable use of TCP protocol (only listen and connect in SCTP) # Default : TCP enabled diff --git a/openair-cn/OPENAIRHSS/conf/make_certs.sh b/openair-cn/OPENAIRHSS/conf/make_certs.sh index ebc5eeca24..3e5568ad01 100755 --- a/openair-cn/OPENAIRHSS/conf/make_certs.sh +++ b/openair-cn/OPENAIRHSS/conf/make_certs.sh @@ -31,7 +31,6 @@ # BY DEFAULT REALM IS "eur" DEFAULTREALMVALUE="eur" -echo "ARG is $1" REALM=${1:-$DEFAULTREALMVALUE} rm -rf demoCA @@ -69,7 +68,7 @@ then sudo mkdir /usr/local/etc/freeDiameter/ fi -sudo cp -upv cakey.pem hss.cert.pem cacert.pem /usr/local/etc/freeDiameter/ +sudo cp -upv cakey.pem hss.cert.pem cacert.pem hss.key.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 -- GitLab