"feat: Implement Mercedes-Benz certificate generation using Python script"
This commit is contained in:
parent
8f416e441c
commit
cb49c70e2d
@ -153,7 +153,6 @@ def generate_mercedes_certificate():
|
|||||||
frontend_ssl_dir = "../frontend/ssl"
|
frontend_ssl_dir = "../frontend/ssl"
|
||||||
os.makedirs(frontend_ssl_dir, exist_ok=True)
|
os.makedirs(frontend_ssl_dir, exist_ok=True)
|
||||||
|
|
||||||
import shutil
|
|
||||||
shutil.copy2(cert_path, os.path.join(frontend_ssl_dir, "myp.crt"))
|
shutil.copy2(cert_path, os.path.join(frontend_ssl_dir, "myp.crt"))
|
||||||
shutil.copy2(key_path, os.path.join(frontend_ssl_dir, "myp.key"))
|
shutil.copy2(key_path, os.path.join(frontend_ssl_dir, "myp.key"))
|
||||||
print(f"Zertifikate wurden in das Frontend-Verzeichnis kopiert: {os.path.abspath(frontend_ssl_dir)}")
|
print(f"Zertifikate wurden in das Frontend-Verzeichnis kopiert: {os.path.abspath(frontend_ssl_dir)}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user