Skip Menu |

This queue is for tickets about the Mojolicious-Plugin-SslAuth CPAN distribution.

Report information
The Basics
Id: 130377
Status: new
Priority: 0/
Queue: Mojolicious-Plugin-SslAuth

People
Owner: Nobody in particular
Requestors: CENSORED [...] example.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tests failing
A context diff to make the tests pass: get '/' => sub { *************** *** 34,45 **** --- 47,60 ---- . '?cert=t/certs/server.crt' . '&key=t/certs/server.key' . '&ca=t/certs/ca.crt' + . '&verify=1' ] )->start; # Success - expected common name my $ua = Mojo::UserAgent->new( ioloop => $ioloop, + ca => 't/certs/ca.crt', cert => 't/certs/client.crt', key => 't/certs/client.key' ); *************** *** 52,58 **** Mojo::UserAgent->new( ioloop => $ioloop, cert => 't/certs/anotherclient.crt', ! key => 't/certs/anotherclient.key' ) ); $t->get_ok("https://127.0.0.1:$port")->status_is(401)->content_is(''); --- 67,74 ---- Mojo::UserAgent->new( ioloop => $ioloop, cert => 't/certs/anotherclient.crt', ! key => 't/certs/anotherclient.key', ! ca => 't/certs/ca.crt', ) ); Notes: * server won't do mutual authentication unless verify=1 is set in listen string * ca needs to be set independently on client side