Net::FTPSSL

Net::FTPSSL

am 13.04.2007 03:10:42 von mmittiga17

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: ",
$ftps-

>last_message;

$ftps->get("xxxx_Test.txt") or die "Can't get file: ", $ftps-

>last_message;

$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

Re: Net::FTPSSL

am 13.04.2007 03:37:18 von Gunnar Hjalmarsson

mmittiga17@gmail.com wrote:

.... a multi-posted question. Please don't do that!

http://lipas.uwasa.fi/~ts/http/crospost.html

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl