Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
112
Issues
112
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
6986c606
Commit
6986c606
authored
Apr 25, 2016
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a method to generate a root cert context, for talking to the
Cluster XMLRPC entrypoint.
parent
eb7103a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
apt/APT_Geni.pm.in
apt/APT_Geni.pm.in
+7
-0
No files found.
apt/APT_Geni.pm.in
View file @
6986c606
...
...
@@ -45,6 +45,8 @@ my $TB = "@prefix@";
my
$
MAINSITE
=
@
TBMAINSITE
@;
my
$
TBOPS
=
"@TBOPSEMAIL@"
;
my
$
SACERT
=
"$TB/etc/genisa.pem"
;
my
$
EMCERT
=
"$TB/etc/emulab.pem"
;
my
$
EMKEY
=
"$TB/etc/emulab.key"
;
#
Cache
credentials
so
we
do
not
keep
regenerating
down
inside
the
#
libraries
that
make
the
XMLRPC
calls
.
...
...
@@ -242,6 +244,11 @@ sub GeniContext()
return
Genixmlrpc
->
Context
($
certificate
);
}
sub
RootContext
()
{
return
Genixmlrpc
->
Context
($
EMCERT
,
$
EMKEY
);
}
#
#
Generate
an
SA
credential
(
sorta
like
an
admin
credential
).
#
...
...
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