- fix de la creation du .pfx
This commit is contained in:
parent
44ceabf422
commit
b209f850a2
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue