Hi,
I've installed OpenCA-SNAP-20010326 and I've some troubles with
generating self Signed CA Certificate.
The server reply is :
Error 690
Configuration Error. Error while storing CA cert to dB!.
--
After I've enabled debug in DB.pm the output is :
:::: (storeItem) DEBUG => #1
:::: (storeItem) DATATYPE => VALID_CA_CERTIFICATE
:::: (storeItem) OBJECT => OpenCA::X509=HASH(0x8354cc0)
:::: (storeItem) DEBUG => #2
::: TYPE =>
:::: (storeItem) ADDING RECORD => f7e1b726005d7d751482a42a3cae8d59
:::: (addRecord) ADD MODE =>
:::: (addRevord) FILENAME => /usr/local/OpenCA/dB/ca_certificates
:::: (addRecord) DBVAL => 1493
:::: (addRecord) DBKEY => f7e1b726005d7d751482a42a3cae8d59
:::: (getIndex) calling getHash
:::: (getHash) filename : /usr/local/OpenCA/dB/ca_certificates -- key :
IDX
:::: (getHash) calling getData
:::: (getData) dbmopen ok, DB{key} = ret =
It seems that the return value $ret of gettData in
dbmopen( %DB, $fileName, 0400 ) or return;
$ret=$DB{$key};
is an empty value.
I've also noticed that the server creates an empty read-only file
"ca_certificates" in /usr/local/OpenCA/dB and if I change file permission
(user +rw) the server rewrite this file with a new size of 4096 bytes.
I hope I've included a complete trouble description.
Thank you in advance,
Enrico Russo
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users