Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 09:59:17 +0200
From:      Philippe =?iso-8859-1?Q?Aud=E9oud?= <jadawin@FreeBSD.org>
To:        George Amanakis <gamanakis@gmail.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: Bug in IO::Socket::SSL
Message-ID:  <20140718075917.GA63868@tuxaco.net>
In-Reply-To: <53C8CAFD.8020608@gmail.com>
References:  <53C8CAFD.8020608@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Jul 2014, George Amanakis wrote:

> Dear all,
>=20
> I 've discovered a bug in p5-IO-Socket-SSL. The following program does=20
> not work (both on FreeBSD 9.2 and 10):
>=20
> -------------------------
> #!/usr/bin/perl
>=20
> use strict;
> use IO::Socket::SSL;
>=20
> my $cl =3D IO::Socket::SSL->new(
>      PeerAddr =3D> 'www.google.com',
>      PeerPort =3D> 443,
>      SSL_ca_file =3D> '/usr/local/share/certs/ca-root-nss.crt');
>=20
> print $cl "GET / HTTP/1.0\r\n\r\n";
> print <$cl>;
>=20
> -------------------------
>=20
> i.e. it produces no output meaning it seems no respond comes from the=20
> socket. Changing to IO::Socket::INET and PeerPort to 80 produces=20
> expected output. The same code in Archlinux works as expected.

Hello,

I will have a look but I think you can also contact IO::Socket::SSL's
author.

Regards,

--=20
Philippe Aud=E9oud



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140718075917.GA63868>