Run-after-reset import certificate stop script
Posted: Mon Jun 07, 2021 11:33 am
I try to import certificates in run-after-reset script.
And my script import stopped with error, but certificates imported succesfully.
Any error in run-after-reset script must stop script - it is normal
I think "import certificate" use output to error stream, not to normal out stream
Or I do somthing wrong?
Code: Select all
:delay 15s
# scriptbefore
:foreach crt in=[/file find where type=".crt file"] do={/certificate import file-name=[/file get $crt name] passphrase=""}
:foreach p12 in=[/file find where type=".p12 file"] do={/certificate import file-name=[/file get $p12 name] passphrase="******"}
#scriptafter
I think "import certificate" use output to error stream, not to normal out stream
Or I do somthing wrong?