extras-buildsys/utils certhelper.py,1.2,1.3

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Tue Oct 4 17:02:13 UTC 2005


Author: dcbw

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26793

Modified Files:
	certhelper.py 
Log Message:
Make CA certificates valid for 10 years, not a month


Index: certhelper.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/certhelper.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- certhelper.py	8 Aug 2005 19:12:03 -0000	1.2
+++ certhelper.py	4 Oct 2005 17:02:10 -0000	1.3
@@ -83,7 +83,7 @@
 
         # Make the self-signed CA certificate
         cert_file = os.path.join(self._outdir, "%s_ca_cert.pem" % self._name)
-        cmd = "%s req -config %s -new -x509 -key %s -out %s -extensions v3_ca" % (OPENSSL_PROG, cnf, key_file, cert_file)
+        cmd = "%s req -config %s -new -x509 -days 3650 -key %s -out %s -extensions v3_ca" % (OPENSSL_PROG, cnf, key_file, cert_file)
         if os.system(cmd) != 0:
             raise CertHelperException("\n\nERROR: Command '%s' was not successful.\n" % cmd)
 




More information about the fedora-extras-commits mailing list