This commit is contained in:
Yann Leboulanger 2014-04-08 22:36:19 +02:00
parent 489bae4100
commit dbb65d71cc

View file

@ -251,7 +251,7 @@ def createCertRequest(pkey, digest="sha256", **name):
req.sign(pkey, digest)
return req
def createCertificate(req, issuerCert, issuerKey, serial, notBefore, notAfter, digest="shai256"):
def createCertificate(req, issuerCert, issuerKey, serial, notBefore, notAfter, digest="sha256"):
"""
Generate a certificate given a certificate request.