Hi,
I'm trying to setup a WinSCP connection to a remote FTPS server using Client Certificates for authentication using the GUI in commander mode.
The Client Certificate is Passphrase protected
When I try to connect, A windows is opened entitled "Client Certifcate Pass Phrase <SiteName>" and it prompts me to enter the passphrase.
I enter the passpharse but it throws and error:
"Error Decoding Certificate"
The pass phrase is correct as I can successfully use the certificate in SmartFTP and also import it into the windows certificate manager.
I have tried manually typing the password and cut+paste but both fail.
The key is in *.PKS format.
the pass phrase is 16 characters long and consists of Upper and lowercase alpha characters and also contains special chars ($, £)
Session log:
. 2016-09-06 12:29:30.895 --------------------------------------------------------------------------
. 2016-09-06 12:29:30.895 WinSCP Version 5.9.1 (Build 6885) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
. 2016-09-06 12:29:30.895 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2016-09-06 12:29:30.895 Log level: Debug 1
. 2016-09-06 12:29:30.895 Local account: AZRWESLGGSPROXY\Richard.Joy
. 2016-09-06 12:29:30.895 Working directory: C:\Program Files (x86)\WinSCP
. 2016-09-06 12:29:30.895 Process ID: 3088
. 2016-09-06 12:29:30.895 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2016-09-06 12:29:30.895 Time zone: Current: GMT+1, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Daylight Time), DST Start: 3/27/2016, DST End: 10/30/2016
. 2016-09-06 12:29:30.895 Login time: Tuesday, September 6, 2016 12:29:30 PM
. 2016-09-06 12:29:30.895 --------------------------------------------------------------------------
. 2016-09-06 12:29:30.895 Session name: ##### (Site)
. 2016-09-06 12:29:30.895 Host name: ################# (Port: 21)
. 2016-09-06 12:29:30.895 User name: anonymous (Password: Yes, Key file: No)
. 2016-09-06 12:29:30.895 Transfer Protocol: FTP
. 2016-09-06 12:29:30.895 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2016-09-06 12:29:30.895 Disable Nagle: No
. 2016-09-06 12:29:30.895 Proxy: None
. 2016-09-06 12:29:30.895 Send buffer: 262144
. 2016-09-06 12:29:30.895 UTF: Auto
. 2016-09-06 12:29:30.895 FTPS: Explicit TLS/SSL [Client certificate: Yes]
. 2016-09-06 12:29:30.895 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2016-09-06 12:29:30.895 Session reuse: Yes
. 2016-09-06 12:29:30.895 TLS/SSL versions: SSLv3-TLSv1.2
. 2016-09-06 12:29:30.895 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2016-09-06 12:29:30.895 Cache directory changes: Yes, Permanent: Yes
. 2016-09-06 12:29:30.895 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2016-09-06 12:29:30.895 Timezone offset: 0h 0m
. 2016-09-06 12:29:30.895 --------------------------------------------------------------------------
. 2016-09-06 12:29:30.895 Certificate is encrypted, need passphrase
* 2016-09-06 12:30:27.490 (ESshFatal)
Software and OS version:
WinSCP Version 5.9.1 (Build 6885)
Windows Server 2012 R2 Datacenter
I would be grateful if you could advise on what could be causing this issue.
Thanks,
Richard