Login failed.. please help me!!!

Advertisement

caisersouze
Joined:
Posts:
1
Location:
rome

Login failed.. please help me!!!

Hi,
I've generetad by PuttyGen a pair public/private key (.ppk). I gave to administrator my public key for add it to the FTPS server configuration file. He give me a user and password for authentication and a server certificate .cer file. I've convert my private key from .ppk to .pem and renamed the server's .cer like my private key, putting both in the same folder.
Now I'm trying to login via winscp, set my .pem private key in TLS setting but I get the following message in the log:

. 2019-07-01 18:02:47.187 Connected with xxxxxx.xxx.corp:21021, TLS connection...
< 2019-07-01 18:02:47.187 220 Server ready for new user.
> 2019-07-01 18:02:47.187 AUTH TLS
< 2019-07-01 18:02:47.189 234 Security data exchange complete.
. 2019-07-01 18:02:47.410 Verifying certificate for "xxxxx xxx xxx" with fingerprint be:72:12:b6:ba:fe:c1:78:c1:c6:a8:38:49:b6:78:66:cd:c3:18:f1 and 20 failures
. 2019-07-01 18:02:47.410 Certificate for "xxxxx xxx xxx" matches cached fingerprint and failures
. 2019-07-01 18:02:47.410 Using TLSv1.2, cipher TLSv1/SSLv3: AES256-SHA, 2048 bit RSA, AES256-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(256) Mac=SHA1
. 2019-07-01 18:02:47.442 TLS Connection established. Waiting for welcome message...
> 2019-07-01 18:02:47.442 USER abcdefg
< 2019-07-01 18:02:47.442 331 Password required for abcdefg.
> 2019-07-01 18:02:47.442 PASS ********
< 2019-07-01 18:02:47.442 530 Login incorrect.
. 2019-07-01 18:02:47.442 Connection failed.
. 2019-07-01 18:02:47.455 Password prompt (last login attempt failed)

Is right use my private key with server certificate for login?
Judging by what is written in the log you think there is a problem with the credentials that the administrator gave me or with the private key pair plus the server's certificate?
Thanks in advance for your help.
Best regards

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Login failed.. please help me!!!

In general, PuTTYgen is used to generate SSH key pairs. Not TLS/SSL client certificate.

In any case, it does not look like your server has asked for a certificate file.
Can you post a complete log?
Can you login using any other FTP client?
Did you get any instructions for use of client certificates from your server administrator?

Reply with quote

Advertisement

You can post new topics in this forum