use the right subject
authorTony Mack <tmack@cs.princeton.edu>
Mon, 7 Dec 2009 22:20:38 +0000 (22:20 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 7 Dec 2009 22:20:38 +0000 (22:20 +0000)
sfa/server/sfa_component_setup.py

index 4002712..ac3ad02 100755 (executable)
@@ -28,7 +28,7 @@ def get_node_key(options):
     certfile = tempfile.mktemp()
     key = Keypair(create=True)
     key.save_to_file(keyfile)
-    cert = Certificate(subject=component)
+    cert = Certificate(subject=subject)
     cert.set_issuer(key=key, subject=subject)
     cert.set_pubkey(key)
     cert.sign()