Error 6295020

From OpenCA Labs WiKi

Problem Description

When trying to download the CA Certificate from the list of CA Certs (eg., by using the menu option "Information -> CA Certificate -> Valid"), By clicking on the "More Info..." or the certificate's icon to install the certificat, the following error is reported:

  [initServer:314] Cannot load certificate from database.

This message is reported also when the certificate is present in the database.


Proposed Solution

The quick fix for the problem, which is caused by an error in passing the dataType variable from the viewCert to the send ertificate command, you shall just copy the new viewCert (http://ftp.openca.org/openca/openca-base/fixes/v1.0.2/Error_6295020/viewCert) and send_email_cert (http://ftp.openca.org/openca/openca-base/fixes/v1.0.2/Error_6295020/send_email_cert) files to:

   PREFIX/lib/openca/cmds

where PREFIX, in the binaries distros, is '/opt/openca'.