> I am facing the same problem as Nicolas. When I am trying to issue the 
> certificate for the admin after initially installing the server, I receive 
> the error 
> 
> 6295035 [initServer:314] Cannot load CSR from the database.
> 
> As can be seen in the mysql debugs, the correct values are never sent to the 
> database. There are only empty values submitted by openca when the CSR is 
> generated:

Ops, it seems a typo in the commit of one of my patches to the new 1.5.0
by Max.

Try this new patch and see if it solves the problem.
diff -ur a/src/modules/openca-dbi/DBI.pm b/src/modules/openca-dbi/DBI.pm
--- a/src/modules/openca-dbi/DBI.pm	2013-08-03 16:56:00.000000000 +0200
+++ b/src/modules/openca-dbi/DBI.pm	2013-09-27 12:12:02.633440373 +0200
@@ -3320,7 +3320,7 @@
 		## If is a number
 		if ( $q_value = /^-?(?:\d+\.?|\.\d)\d*\z/ )
 		{
-			if ( $q_type =~ /BIGINT/ )
+			if ( $q_type =~ /DECIMAL/ )
 			{
        	$self->{STH}->bind_param( $q_count, $q_value, SQL_DECIMAL );
      	}
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to