On Fri, 2005-03-25 at 19:33 +0100, M.-A. DARCHE wrote:
<snip>
I apologize if this is a repost - I did not see my message in my own
inbox so I assume it did not successfully post. In case the original
was too long, I stripped out the original thread which described how
openca-openssl fails its tests. Someone replied with a list of packages
they found necessary to get openca to install. Here's my reply:
Alas, I'm still not successful. I ripped out all the perl modules that
I installed plus those related to OpenCA that installed with my
configuration of Fedora Core 3. I reinstalled as many of the modules
needed by OpenCA and in your list as I could from the distribution (yum
install . . . ) and then ran the OpenCA setup:
./configure --enable-oscpd --enable-scep --with-openca-user=openca --
with-openca-group=openca --with-httpd-user=apache --with-httpd-
group=apache --with-web-host=<hostname> && make && make test
I get the same error.
I have tried openca-0.9.2.2 and openca-0.9.2.1 and am using
openssl-0.9.7a-40 from the FC3 distribution.
I installed Algorithm::Diff as recommended to get more detailed error
reporting. It appears that the error is about a discrepancy in what is
expected from the output for a certificate but the only difference I can
see is in the spacing. I'll paste in the error messages below.
At this point, I am still completely stuck and it's holding up two much
larger projects for weeks. Can anyone help?
make[6]: Entering directory
`/download/openca-0.9.2.1/src/modules/openca-openssl'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/1....ok
t/2....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/2....ok
t/3....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
CRITICAL ERROR STARTS HERE (my comment - not part of the output)
t/3....NOK 20# Test 20 got: " X509v3 Private Key Usage Period: \n
Not Before: May 8 07:38:04 2002 GMT, Not After: May 8 08:08:04 2004
GMT\n X509v3 Key Usage: \n Digital Signature, Key
Encipherment\n Netscape Cert Type: \n SSL Client, S/MIME\n
X509v3 Subject Alternative Name: \n
email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n
X509v3 CRL Distribution Points: \n DirName:/C=ES/O=FNMT/OU=FNMT
Clase 2 CA/CN=CRL538\n\n X509v3 Authority Key Identifier: \n
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n\n X509v3
Subject Key Identifier: \n
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n X509v3 Basic
Constraints: \n CA:FALSE\n 1.2.840.113533.7.65.0: \n
0\n..V5.0....\n" (t/3.t at line 94)
# Expected: " X509v3 Private Key Usage Period: \n Not
Before: May 8 07:38:04 2002 GMT, Not After: May 8 08:08:04 2004 GMT\n
X509v3 Key Usage: \n Digital Signature, Key Encipherment\n
Netscape Cert Type: \n SSL Client, S/MIME\n X509v3 Subject
Alternative Name: \n email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n
X509v3 CRL DistributionPoints: \n DirName:/C=ES/O=FNMT/OU=FNMT Clase
2 CA/CN=CRL538\n\n X509v3 Authority Key Identifier: \n
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n\n X509v3
Subject Key Identifier: \n
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n X509v3 Basic
Constraints: \n CA:FALSE\n 1.2.840.113533.7.65.0: \n
0\n..V5.0....\n"
# Line 2 is changed:
# - " Not Before: May 8 07:38:04 2002 GMT, Not After: May 8
08:08:04 2004 GMT\n"
# + " Not Before: May 8 07:38:04 2002 GMT, Not After:
May 8 08:08:04 2004 GMT\n"
# Line 4 is changed:
# - " Digital Signature, Key Encipherment\n"
# + " Digital Signature, Key Encipherment\n"
# Line 6 is changed:
# - " SSL Client, S/MIME\n"
# + " SSL Client, S/MIME\n"
# Line 8 is changed:
# - " email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n"
# + " email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n"
# Line 10 is changed:
# - " DirName:/C=ES/O=FNMT/OU=FNMT Clase 2 CA/CN=CRL538\n"
# + " DirName:/C=ES/O=FNMT/OU=FNMT Clase 2 CA/CN=CRL538
\n"
# Line 13 is changed:
# - "
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n"
# + "
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n"
# Line 16 is changed:
# - "
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n"
# + "
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n"
# Line 18 is changed:
# - " CA:FALSE\n"
# + " CA:FALSE\n"
# t/3.t line 94 is: ok ( $intcert->extensions, $extensions);
t/3....FAILED test 20
Failed 1/22 tests, 95.45% okay
t/4....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/4....ok
t/5....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/5....ok
t/6....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/6....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/3.t 22 1 4.55% 20
Failed 1/6 test scripts, 83.33% okay. 1/72 subtests failed, 98.61% okay.
make[6]: *** [test_dynamic] Error 255
make[6]: Leaving directory `/download/openca-0.9.2.1/src/modules/openca-
openssl'
make[5]: *** [openca-openssl] Error 2
make[5]: Leaving directory `/download/openca-0.9.2.1/src/modules'
make[4]: *** [test] Error 2
make[4]: Leaving directory `/download/openca-0.9.2.1/src/modules'
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/download/openca-0.9.2.1/src'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/download/openca-0.9.2.1/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/download/openca-0.9.2.1'
make: *** [test] Error 2
By the way, Parse::RecDescent is 1.94-4 from FC3
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
[EMAIL PROTECTED]
If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users