Hello everyone,

We're having a very similar (the same?) issue as reported in [1]. The  
used DB is MySQL 5.1.

A key pair, CSR and self-signed a CA certificate are all generated  
correctly. By inspecting the ca_certificate table, it is possible to  
see that the certificate is stored successfully in the database.  
However, when trying to view the certificate with the  
cmd=viewCert&dataType=VALID_CA_CERTIFICATE&key=<key hash> command, the  
MySQL Perl module crashes:

======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f15e218f667]
/lib/libc.so.6(__fortify_fail+0x0)[0x7f15e218f630]
/opt/openca/base/lib/openca/perl_modules/perl5/x86_64-linux-gnu-thread-multi/auto/DBD/mysql/mysql.so(+0x8ddf)[0x7f15ddf83ddf]
/opt/openca/base/lib/openca/perl_modules/perl5/x86_64-linux-gnu-thread-multi/auto/DBD/mysql/mysql.so(XS_DBD__mysql__st_bind_param+0x1ab)[0x7f15ddf9274b]
/opt/openca/base/lib/openca/perl_modules/perl5/x86_64-linux-gnu-thread-multi/auto/DBI/DBI.so(XS_DBI_dispatch+0x2e79)[0x7f15df17d129]
/usr/lib/libperl.so.5.10(Perl_pp_entersub+0x5a5)[0x7f15e2b5a5f5]
/usr/lib/libperl.so.5.10(Perl_runops_standard+0x16)[0x7f15e2b58b36]
/usr/lib/libperl.so.5.10(perl_run+0x13c)[0x7f15e2afd51c]
/usr/bin/perl(main+0xec)[0x400d3c]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f15e20cac4d]
/usr/bin/perl[0x400b89]


I was able to determine that the call that fails is apparently at  
$PREFIX/lib/DBI.pm, line 3275:

"$self->{STH} = $self->{DBH}->prepare ($query);"

Are there any developments on this issue?


[1] - http://sourceforge.net/mailarchive/message.php?msg_id=27203865


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to