Mad Elf IX wrote:
A) 'configure certs failed: failed to load <filename>: Illegal seek'
B) 'configure certs failed: Private key and certificate do not match'
now the second error occurs when i add this line:
---------------------------------------------------------------------------
print STDERR Dumper($ctx),"\n$file\n",$ENV{'HTTPS_PKCS12_PASSWORD'},"\n\n";
---------------------------------------------------------------------------
before the use_pkcs12_file() call in Net:SSL.
any ideas what is going on?
Hi Max,
Sorry for replying for so long. I have never seen these problems,
but I am not particularly expert with pkcs12 loading API. I wonder
whether your pkcs12 file is valid to begin with? It seems that either
error message might point to problems in loading this file, whether
it be simply reading it or the possibly validation phase going on.
You might make sure you are working with the latest Crypt::SSLeay
and OpenSSL, and that your pkcs12 file was created by the same verion
of OpenSSL. I don't know that any of this will matter. If you are
still having problems, I could try to reproduce this behavior,
and you might provide a sample LWP script that you are using
for me to reproduce this on my side, but I will be using a different
pkcs12 file so it probably won't help anyway.
Regards,
Josh
________________________________________________________________________
Josh Chamas, Founder | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com | Apache::ASP - http://www.apache-asp.org