Skip Menu |

This queue is for tickets about the POE-Component-SSLify CPAN distribution.

Report information
The Basics
Id: 66130
Status: resolved
Priority: 0/
Queue: POE-Component-SSLify

People
Owner: Nobody in particular
Requestors: MNUNBERG [...] cpan.org
Cc:
AdminCc:

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



Subject: Add option to disable error checking
Just a bit of sugar.. would be nice to have a way to disable the boilerplate die_if_ssl_error(...) with something like... { local $POE::Component::SSLify::IGNORE_SSL_ERRORS=1; SSLify_CreateContext(...); #Some more stuff } #I found it useful in at least one setting where openssl would seemingly cache the session (or something to that effect.. [apparently there's an option to disable cache, but either that had no effect, or i didn't know what i was doing? local $Net::SSLeay::trace = 2; local $Net::SSLeay::ssl_version = 10; my $ctx = Net::SSLeay::CTX_new(); #Net::SSLeay::CTX_set_options() Net::SSLeay::CTX_use_RSAPrivateKey_file($ctx, $keyfile, &Net::SSLeay::FILETYPE_PEM); Net::SSLeay::CTX_use_certificate_file($ctx, $crtfile, &Net::SSLeay::FILETYPE_PEM ); log_debug("Created context.."); $sslified_sock = Server_SSLify($client->wheel->get_input_handle, $ctx); log_debug("SSLified socket!"); If that died on an SSL error, something like firefox would never be able to fetch the CA certificate because it would have rejected it from a previous connection
Hello, Thanks for reporting this to me on IRC + filing a bug report! v1.003 on CPAN has your feature. As usual, please let me know if I missed something, thanks :) -- ~Apocalypse