- fix de la creation du .pfx

This commit is contained in:
Frogg 2026-05-12 23:43:53 +02:00
parent 44ceabf422
commit b209f850a2
1 changed files with 19 additions and 8 deletions

View File

@ -786,15 +786,26 @@ do_deb_sys_cert_install(){
fi fi
local pfx_cmd local pfx_cmd
# pfx_cmd="openssl pkcs12 -export \
# -out \"$cert_pfx\" \
# -inkey \"$cert_key\" \
# -in \"$pfx_input\" \
# -certfile \"$pfx_input\" \
# -passout pass: \
# -legacy \
# && chown root:\"$current_group\" \"$cert_pfx\" \
# && chmod 640 \"$cert_pfx\""
pfx_cmd="openssl pkcs12 -export \ pfx_cmd="openssl pkcs12 -export \
-out \"$cert_pfx\" \ -out \"$cert_pfx\" \
-inkey \"$cert_key\" \ -inkey \"$cert_key\" \
-in \"$pfx_input\" \ -in \"$pfx_input\" \
-certfile \"$pfx_input\" \ -passout pass: \
-passout pass: \ -keypbe AES-256-CBC -certpbe AES-256-CBC \
-legacy \ && chown root:\"$current_group\" \"$cert_pfx\" \
&& chown root:\"$current_group\" \"$cert_pfx\" \ && chmod 640 \"$cert_pfx\""
&& chmod 640 \"$cert_pfx\""
# ------------------------------------------------------------------ # ------------------------------------------------------------------
# Construction de la liste des services à redémarrer # Construction de la liste des services à redémarrer