Are there any development PSGI servers that support HTTPS (TLS)?

164 views
Skip to first unread message

Zbigniew Lukasiak

unread,
Dec 30, 2010, 5:37:01 PM12/30/10
to psgi-...@googlegroups.com
Googling did not help here.

For reference: I found two HTTP servers on CPAN that support TLS:
Mojolicious and AnyEvent::HTTP and there is also Net::SSLeay (plus a
promising TODO in Net::Proxy) - but nothing that could be treated as a
full solution.

Is there any other way to test serving https in development?

--
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/

Tatsuhiko Miyagawa

unread,
Dec 30, 2010, 7:50:37 PM12/30/10
to psgi-...@googlegroups.com

There have been patches to implement SSL on Twiggy and Corona but iirc they haven't been merged. You can look around on github to find these diffs I believe.

Sent from my Galaxy S

Chris Weyl

unread,
Dec 30, 2010, 11:18:07 PM12/30/10
to psgi-...@googlegroups.com
I have a (now very old) branch on github to have Starman serve via SSL.  If there's interest in this I could probably resurrect it without too much pain -- assuming I was going at it the right way to begin with, that is :)

--
Chris Weyl
Ex astris scientia

Daniel Risacher

unread,
Feb 1, 2011, 12:03:35 PM2/1/11
to psgi-...@googlegroups.com
Perlbal has support for both PSGI and SSL.  I have not personally tried the Perlbal PSGI support, though.

Related question...
In a mod_perl2 init_phase handler, it's possible to force SSL renegotiation to require client certificates, like so:

        $r->add_config([                          
                        '
SSLVerifyClient optional',                   
                        '
SSLVerifyDepth 3',              
                        ]);        

It seems to me that in PSGI there is no way to do this - is that correct?
Reply all
Reply to author
Forward
0 new messages