diff options
Diffstat (limited to 'scripts/testroot.py')
-rwxr-xr-x | scripts/testroot.py | 5 |
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: |