Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Certificate Issues with but not with WinSCP.exe

I can hardly answer, why it was working differently before. Something must have changed, either your script or the certificate.

I do not understand your last question about "remembering Y". That's what the -certificate is for.

Re: Certificate Issues with but not with WinSCP.exe

Hi Martin,

Thanks for your reply. You're correct, the /ini switch is set to be /ini=null in the arguments we pass to

We have used -certificate as a work-around but I don't understand why the part of the application was previously connecting seamlessly, and now asks us if we trust the certificate we present to it each time. Is there a significance between fingerprints on port 990 and 21? Both are in our registry but continues to ask us to confirm we trust them.

Is there a way to have the portion remember the Y choice for the certificate?



Certificate Issues with but not with WinSCP.exe

I have a Powershell script which runs and supplies a number of arguments, including login details for an FTPS account on a remote server. When I use the GUI to connect to the account, it works correctly but originally gave me an error message stating the server's certificate was not known and asking me to continue, to which I said yes. It appears to have remembered my preference and connects successfully each time.

When I use my Powershell script to run using the same login details, the same error message appears in my log each time, to which times out and chooses not to proceed as it doesn't know the certificate is valid.

Can someone point me to why the aspect of the application wouldn't remember the certificate if I had chosen to proceed within the GUI? I have checked that the fingerprint of the certificates are exactly the same and the user running both the gui and the script is the same.

Thanks in advance for your help and time.