Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
1dae1a8a
Commit
1dae1a8a
authored
Jan 26, 2015
by
Leigh B Stoller
Browse files
Add certificate to XML file that is returned, so that web interface
can get it easily.
parent
2dc028d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/scripts/parsecert.in
View file @
1dae1a8a
#!/usr/bin/perl -w
#
# Copyright (c) 2008-201
4
University of Utah and the Flux Group.
# Copyright (c) 2008-201
5
University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
...
...
@@ -89,6 +89,8 @@ print OUT "<attribute name='email'>" . $certificate->email();
print
OUT
"
</attribute>
\n
";
print
OUT
"
<attribute name='uuid'>
"
.
$certificate
->
uuid
();
print
OUT
"
</attribute>
\n
";
print
OUT
"
<attribute name='certificate'>
"
.
$certificate
->
cert
();
print
OUT
"
</attribute>
\n
";
print
OUT
"
</attributes>
\n
";
close
(
OUT
);
exit
(
0
);
...
...
Write
Preview
Supports
Markdown
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