I use DBI (mysql) and checked the debug info of DBI. It seems to me that the error does not come from the batabase itself.
It seems that the line $crt = new OpenCA::X509( SHELL=>$cryptoShell, INFILE=>"$cacertFile" ); fails and that $crt is not set (this is where Error while loading CA certificate) comes from.
But I don't know what this line exactly does and could not find out what code is executed during this call. May be an error in the certificate I try to import.
Below you can find the debugging info.

Thanx
Pierre


PS: Thanx for the tipps concerning Windows. I could successfully import the certificate for the Windows CA into my windows certification authorithy.



Debugging is activated!
defining the class parameters
checking the configuration for enough data
preparing the database (vendor dependent)
mysql detected
DB: dbi:mysql:database=openca;host=localhost;port=3306;mysql_ssl=1
connecting to database
try to connect
Checking AutoCommit to be off ...
AutoCommit is off
OpenCA::DBI should now complete
Content-type: text/html
                 
          Importing CA Certificate into filesystem ... Ok.

               ./
               ./careq.pem

          Importing CA Certificate to dB ... OpenCA::DBI->rollback



                    Error 690

                         Configuration Error.
                         Error while loading CA certificate
                         (/usr/local/pki/ca/OpenCA/var/crypto/cacerts/cacert.pem)..


                   
 OpenCA::DBI automatic commit by destructor DESTROY
 OpenCA::DBI->commit




_________________________
Pierre Scholtes
Unicible

tel: +41 (0)21 644 6111
fax: +41 (0)21 644 6300
mailto:[EMAIL PROTECTED]
http://www.unicible.ch


Reply via email to