mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-09 16:59:01 +00:00
adding comment on ceriticate generation
This commit is contained in:
parent
1e0c234e57
commit
3245588014
1 changed files with 2 additions and 0 deletions
|
@ -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 '
|
||||||
|
|
Loading…
Reference in a new issue