check-certificates: try PKCS#12 before PEM...

... as that is more likely to have a private key.

Is that true? 🤨
This commit is contained in:
Christian Hesse 2025-02-26 18:25:58 +01:00
parent e833dfcf25
commit 14195c51ca

View file

@ -48,7 +48,7 @@
:global UrlEncode;
:global WaitForFile;
:foreach Type in={ "pem"; "p12" } do={
:foreach Type in={ "p12"; "pem" } do={
:local CertFileName ([ $UrlEncode $FetchName ] . "." . $Type);
$LogPrint debug $ScriptName ("Trying type '" . $Type . "' for '" . $CertName . \
"' (file '" . $CertFileName . "')...");