Functions | |
def | usage |
Variables | |
tuple | cert = parent.cross_certify(keypair, child, serial, notAfter, now) |
child = None | |
tuple | f = open(serial_file, "r") |
keypair = None | |
tuple | lifetime = rpki.sundial.timedelta(days = 30) |
notAfter = now+lifetime | |
tuple | now = rpki.sundial.now() |
output = None | |
parent = None | |
tuple | serial = f.read() |
serial_file = None |
Cross-certification tool to issue a new certificate based on an old one that was issued by somebody else. The point of the exercise is to end up with a valid certificate in our own BPKI which has the same subject name and subject public key as the one we're replacing. Usage: python cross_certify.py { -i | --in } input_cert { -c | --ca } issuing_cert { -k | --key } issuing_cert_key { -s | --serial } serial_filename [ { -h | --help } ] [ { -o | --out } filename (default: stdout) ] [ { -l | --lifetime } timedelta (default: 30 days) ] $Id: cross_certify.py 2553 2009-06-30 05:13:12Z sra $ Copyright (C) 2009 Internet Systems Consortium ("ISC") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Portions copyright (C) 2007--2008 American Registry for Internet Numbers ("ARIN") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
def cross_certify.usage | ( | errmsg = None |
) |
Definition at line 51 of file cross_certify.py.
Definition at line 107 of file cross_certify.py.
tuple cross_certify::child = None |
Definition at line 59 of file cross_certify.py.
tuple cross_certify::f = open(serial_file, "r") |
Definition at line 100 of file cross_certify.py.
tuple cross_certify::keypair = None |
Definition at line 61 of file cross_certify.py.
tuple cross_certify::lifetime = rpki.sundial.timedelta(days = 30) |
Definition at line 63 of file cross_certify.py.
Definition at line 97 of file cross_certify.py.
tuple cross_certify.now = rpki.sundial.now() |
Definition at line 96 of file cross_certify.py.
cross_certify.output = None |
Definition at line 64 of file cross_certify.py.
tuple cross_certify::parent = None |
Definition at line 60 of file cross_certify.py.
int cross_certify::serial = f.read() |
Definition at line 101 of file cross_certify.py.
cross_certify.serial_file = None |
Definition at line 62 of file cross_certify.py.