[IMP] Change certificate to concatenate
This commit is contained in:
@@ -361,8 +361,8 @@ def generate_dc_certificate(dc_name=None, ca_name=None, force=False, verbose=Fal
|
||||
|
||||
if sign_dc_cert.returncode == 0:
|
||||
if os.path.isfile(dc_certfile):
|
||||
print('Concatenation of DC and Root cert')
|
||||
subprocess.run(f'cat {dc_certfile} {TisPKI.root_ca_certfile()} > {dc_certfile}_full',shell=True)
|
||||
print('Concatenation of DC and intermediate cert')
|
||||
subprocess.run(f'cat {dc_certfile} {dc_ca_certfile} > {dc_certfile}_full',shell=True)
|
||||
Printing.success(f'Certificat is stored in : {dc_certfile}')
|
||||
Printing.success(f'Key is stored in : {dc_keyfile}')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user