aboutsummaryrefslogtreecommitdiff
path: root/scripts/testroot.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-11-01 23:58:28 +0000
committerRob Austein <sra@hactrn.net>2007-11-01 23:58:28 +0000
commit73b48ecc296883031e67f6806044dece8a878709 (patch)
treedccb38b9fabb335bb5e58b5df371b9c148e387aa /scripts/testroot.py
parent4298f47f8bf028cd952c0e67d5c5f5d5da229ac6 (diff)
Checkpoint
svn path=/scripts/rpki/exceptions.py; revision=1229
Diffstat (limited to 'scripts/testroot.py')
-rwxr-xr-xscripts/testroot.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/testroot.py b/scripts/testroot.py
index ba6cf809..21b8bcc1 100755
--- a/scripts/testroot.py
+++ b/scripts/testroot.py
@@ -53,6 +53,11 @@ class list_pdu(rpki.up_down.list_pdu):
class issue_pdu(rpki.up_down.issue_pdu):
def serve_pdu(self, xxx1, q_msg, r_msg, xxx2):
+
+ f = open("testroot.pkcs10", "w")
+ f.write(self.pkcs10.get_DER())
+ f.close()
+
self.pkcs10.check_valid_rpki()
rpki_subject = get_subject_cert()
if rpki_subject is not None: