certmaster/certs.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a65d25302707eea8c109735a983f082a3f485c14
Author: Daniel Lowe <[email protected]>
Date:   Wed Aug 25 16:40:35 2010 -0400

    cut and paste error making cers not include right CA info

diff --git a/certmaster/certs.py b/certmaster/certs.py
index 9367fed..b59a972 100644
--- a/certmaster/certs.py
+++ b/certmaster/certs.py
@@ -144,7 +144,7 @@ def create_slave_certificate(csr, cakey, cacert, cadir, 
slave_cert_file=None):
     cert.set_version(2)
     xt = crypto.X509Extension('basicConstraints', False ,'CA:FALSE')
     # FIXME - add subjectkeyidentifier and authoritykeyidentifier extensions, 
too)    
-    cacert.add_extensions((xt,))
+    cert.add_extensions((xt,))
     cert.sign(cakey, 'sha1')
     if slave_cert_file:
         destfo = open(slave_cert_file, 'w')


_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to