mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-21 22:46:11 +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))
|
||||
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 '
|
||||
|
|
Loading…
Reference in a new issue