adding comment on ceriticate generation

This commit is contained in:
Jerome Sagnole 2017-11-13 21:42:27 +01:00
parent 1e0c234e57
commit 3245588014

View file

@ -275,6 +275,7 @@ class Certificate:
self.commonName)) self.commonName))
os.chmod(csrfile, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) os.chmod(csrfile, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
certfile = os.path.join(self.workdir_cert_appli, 'certs', certfilename) certfile = os.path.join(self.workdir_cert_appli, 'certs', certfilename)
# Sign certificate
self.SendCommandOpenssl('ca ' self.SendCommandOpenssl('ca '
'-config %s ' '-config %s '
'-extensions v3_application_ca ' '-extensions v3_application_ca '
@ -322,6 +323,7 @@ class Certificate:
self.organizationName, self.organizationName,
self.commonName)) self.commonName))
certfile = os.path.join(self.workdir_cert_appli, 'certs', certfilename) certfile = os.path.join(self.workdir_cert_appli, 'certs', certfilename)
# Sign certificate
self.SendCommandOpenssl('ca ' self.SendCommandOpenssl('ca '
'-config %s ' '-config %s '
'-extensions %s ' '-extensions %s '