Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
07a14693
Commit
07a14693
authored
Jan 09, 2015
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6336
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
1d4f1ae7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
openair-cn/OPENAIRHSS/conf/make_certs.sh
openair-cn/OPENAIRHSS/conf/make_certs.sh
+5
-2
No files found.
openair-cn/OPENAIRHSS/conf/make_certs.sh
View file @
07a14693
...
...
@@ -39,7 +39,10 @@ mkdir demoCA
echo
01
>
demoCA/serial
touch
demoCA/index.txt
echo
"Creating certificate for HSS"
user
=
$(
whoami
)
HOSTNAME
=
$(
hostname
-f
)
echo
"Creating HSS certificate for user '
$HOSTNAME
'.'
$REALM
'"
#
# # CA self certificate
# openssl req -new -batch -x509 -days 3650 -nodes -newkey rsa:1024 -out cacert.pem -keyout cakey.pem -subj /CN=test.fr/C=FR/ST=Biot/L=Aix/O=test.fr/OU=mobiles
...
...
@@ -55,7 +58,7 @@ openssl req -new -batch -x509 -days 3650 -nodes -newkey rsa:1024 -out cacert.pe
openssl genrsa
-out
hss.key.pem 1024
# Generate a CSR (Certificate Signing Request) that will be self-signed
openssl req
-new
-batch
-out
hss.csr.pem
-key
hss.key.pem
-subj
/CN
=
hss
.
$REALM
/C
=
FR/ST
=
PACA/L
=
Aix/O
=
Eurecom/OU
=
CM
openssl req
-new
-batch
-out
hss.csr.pem
-key
hss.key.pem
-subj
/CN
=
$HOSTNAME
.
$REALM
/C
=
FR/ST
=
PACA/L
=
Aix/O
=
Eurecom/OU
=
CM
# Certification authority
openssl ca
-cert
cacert.pem
-keyfile
cakey.pem
-in
hss.csr.pem
-out
hss.cert.pem
-outdir
.
-batch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment