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