Re: The server's certificate is not known
In general, you indeed should specify the certificate fingerprint using the
But in your commandline in your first post, you didn't use
As for the syntax: The
So it should be like:
-certificate
switch (the -hostkey
works too, but it's semantically incorrect). That's because the scripts should better run in isolated environment, not relying on certificate caches.
But in your commandline in your first post, you didn't use
/ini=nul
. So the caching should have worked. But now in the log I see that you actually use /ini=nul
. That explains, why caching does not work.
As for the syntax: The
SHA-256:
prefix shouldn't be there.
So it should be like:
open ftpes://user:pass@Tools-n-Gizmos.com -certificate="bb:8d:25:99:c6:e1:fb:7f:98:4f:12:a1:a1:9a:dc:6b:83:df:b4:e8:7c:b2:20:dc:f4:c1:94:52:1e:cc:33:40"