[IMP] Change certificate to concatenate

This commit is contained in:
2024-05-10 07:37:42 +02:00
parent 90bdb017de
commit 3629011913
+2 -2
View File
@@ -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: