Hi looks like I got working code by doing the following:
- Commenting out these two lines:
> my $ua = Mojo::UserAgent->new;
>
> #$ua = $ua->ca('/etc/rad/cert.pem');
> #$ua = $ua->key('/etc/rad/key.pem');
>
- Adding the following use statement to enable debugging:
use IO::Socket::SSL qw(debug10);
It looks like the following line is useless:
IO::Socket::SSL::set_defaults(SSL_verify_mode => 'VERIFY_NONE');
Is there a way to option that can be passed to
Mojo::UserAgent->new;
That will allow for the use of self-signed certs or do I just not set
$ua->key and $ua->ca?
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.