diff --git a/openair-cn/OPENAIRHSS/conf/hss_fd.conf b/openair-cn/OPENAIRHSS/conf/hss_fd.conf index aea806aafcbd6a0b2b955b82314c815e17fdc353..4b93700fe09abaeda2beaadaaeafb08f700592a5 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 ebc5eeca24328e88580ba80db7eb3c81a07c6ccc..3e5568ad01d332ce200b820115ba0efe1d984f47 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