diff options
author | Rob Austein <sra@hactrn.net> | 2007-11-05 16:49:26 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-11-05 16:49:26 +0000 |
commit | f698f6b58262194b3d0c3393d7e224580d1a69cf (patch) | |
tree | 725fa92bef90d611744c8dbccf18379175427b47 /scripts | |
parent | b8bf07c5449e0d836d01d077055cbfc8e45a88ce (diff) |
DER, not PEM
svn path=/scripts/testroot.py; revision=1234
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/testroot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/testroot.py b/scripts/testroot.py index 9d733d7a..e42b4aab 100755 --- a/scripts/testroot.py +++ b/scripts/testroot.py @@ -35,8 +35,8 @@ def set_subject_cert(cert): def stash_subject_pkcs10(pkcs10): if rpki_pkcs10_filename: - f = open(rpki_pkcs10_filename, "w") - f.write(pkcs10.get_PEM()) + f = open(rpki_pkcs10_filename, "wb") + f.write(pkcs10.get_DER()) f.close() def compose_response(r_msg): |