- 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,16 +786,27 @@ do_deb_sys_cert_install(){
fi
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 \
-out \"$cert_pfx\" \
-inkey \"$cert_key\" \
-in \"$pfx_input\" \
-certfile \"$pfx_input\" \
-passout pass: \
-legacy \
-keypbe AES-256-CBC -certpbe AES-256-CBC \
&& chown root:\"$current_group\" \"$cert_pfx\" \
&& chmod 640 \"$cert_pfx\""
# ------------------------------------------------------------------
# Construction de la liste des services à redémarrer
# ------------------------------------------------------------------