mmittiga17 has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know where Net:FTPSSL looks to for the client cert and key?
use Net::FTPSSL; my $ftps = Net::FTPSSL->new('xxx.xxx.xxxx', Port => 21, Encryption => 'E', Debug => 1) or die "Can't open xxxxxx; $ftps->login('xxxx', 'xxxxx') or die "Can't login: ", $ftps->$last_message(); $ftps->cwd("/xxx/outbound") or die "Can't change directory: ", $ft +ps->last_message; $ftps->get("xxxx_Test.txt") or die "Can't get file: ",$ftps->last_m +essage; $ftps->quit();
SSL connect attempt failed because of handshake problemserror: 14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate

I am trying to download a file from a vendor, I have their cert and key. Net::FTPSSL has no option to use a specific cert and key.

Any help will be appreciated.

Thanks

Replies are listed 'Best First'.
Re: Net::FTPSSL Cert and Key question
by nega (Scribe) on Apr 13, 2007 at 18:05 UTC
Re: Net::FTPSSL Cert and Key question
by Khen1950fx (Canon) on Apr 13, 2007 at 18:43 UTC