Click here to get back home

Net::FTPSSL

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Net::FTPSSL mmittiga17 04-12-2007
`--> Re: Net::FTPSSL Gunnar Hjalmars...04-12-2007
Posted by mmittiga17 on April 12, 2007, 9:10 pm
Please log in for more thread options


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


Posted by Gunnar Hjalmarsson on April 12, 2007, 9:37 pm
Please log in for more thread options


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

Similar ThreadsPosted
Need help with Net::FTPSSL January 20, 2007, 2:09 pm
[ANNOUNCE] Net::FTPSSL 0.03 September 5, 2005, 4:54 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap