[Net-IMAP-Server] Net::IMAP::Server - paths to SSL certificate and key
Dan Keder
keder at fi.muni.cz
Fri Oct 2 04:09:35 EDT 2009
On 01.10.2009 18:58, Alex Vandiver wrote:
> On Thu, 2009-10-01 at 18:17 +0200, Dan Keder wrote:
>> I modified the module Net::IMAP::Server so that I can specify paths to
>> the SSL certificate and key files. The patch that does it is in the
>> attachments.
>>
>> However it requires another change in Net::Server::Coro which I already
>> sent to its respective mailing list (and which I am attaching to this
>> mail as well).
>
> Thanks! This looks like a useful feature. However, it looks only to
> work with TCP connections which later get TLS enabled, but not with
> straight-up SSL connections. That is, the following fails for me:
>
> $ perl -Ilib -MNet::IMAP::Server -e 'Net::IMAP::Server->new(
> server_cert => "moose/server-cert.pem",
> server_key => "moose/server-key.pem",
> ssl_port => 9930
> )->run'&
> 2009/10/01-12:52:58 Net::IMAP::Server (type Net::Server::Coro) starting!
> pid(4318)
> Binding to TCP port 1430 on host *
> Binding to SSL port 9930 on host *
> Group Not Defined. Defaulting to EGID '1000 1005 1004 1000 443 250 100
> 85 35 27 19 18 16 11 10'
> User Not Defined. Defaulting to EUID '1000'
> SSL accept error: 1, error:00000001:lib(0):func(0):reason(1)
>
> $ openssl s_client -connect localhost:9930 -crlf
> CONNECTED(00000003)
> 4278:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
> handshake failure:s23_clnt.c:596:
Yes, I didn't get so far yet :-). Right now I am playing with TLS. I
will certainly look into that, maybe even today.
> I'd love to take these patches if you can fix this problem.
> Tangentially, where's the "respective mailing list" for
> Net::Server::Coro? I don't know of one -- which is surprising, because
> I'm the maintainer. :)
I meant the bug tracking address of Net::Server::Coro -
bug-net-server-coro at rt.cpan.org (as you found out yourself).
dan
--
Free your mind...the rest will follow.
--------------------------------------------------------
More information about the Net-IMAP-Server
mailing list