On 9/26/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have just unzipped "nss-3.11.4-with-nspr-4.6.4.tar.gz" (downloaded from
> the site) and then followed the build instructions - all seemd to go
> without problems.  I then
> transferred some of the  .so's and the utility "certutil" -
>
> -rwxr-----   1 alanm    users        2962 Jul  3 10:30 ReadMe.txt
> drwxr-xr-x   2 alanm    users        1024 Sep 26 11:47 certdb
> -rwxr-----   1 alanm    users      478371 Sep 25 13:22 certutil
> -rwxr-----   1 alanm    users     1447986 Jul  2 15:44 libcrypto.so(xxzx)
> -rwxr-----   1 alanm    users     1447986 Jul  3 10:19
> libcrypto.so.0.9.8(xxx)
> -rwxr-----   1 alanm    users      920773 Sep 24 15:10 libnspr4.so
> -rwxr-----   1 alanm    users     2707504 Sep 25 13:15 libnss3.so
> -rwxr-----   1 alanm    users       85894 Sep 24 15:10 libplc4.so
> -rwxr-----   1 alanm    users       58946 Sep 24 15:10 libplds4.so
> -rwxr-----   1 alanm    users      735790 Sep 25 13:18 libsmime3.so
> -rwxr-----   1 alanm    users         476 Sep 25 13:27 libsoftokn3.chk
> -rwxr-----   1 alanm    users     1613709 Sep 25 13:12 libsoftokn3.so
> -rwxr-----   1 alanm    users      269749 Jul  2 15:44 libssl.so(xxx)
> -rwxr-----   1 alanm    users      269749 Jul  3 10:18
> libssl.so.0.9.8(xxx)
> -rwxr-----   1 alanm    users      901728 Sep 25 13:17 libssl3.so
> -rwxr-----   1 alanm    users      774609 Sep 24 15:30 modutil
> -rwxr-----   1 alanm    users      435321 Jul  2 15:45 openssl(xxx)
> -rwxr-----   1 alanm    users           8 Sep 26 13:04 password
> -rwxr-----   1 alanm    users      410746 Sep 24 15:25 pk12util

Alan, in NSS 3.11 we added two new files for Linux:
libfreebl3.so and libfreebl3.chk.  So for NSS 3.11 or newer, you
also need to transfer these two files.

> When I ran this util to create the .db's I was greated with and error
> message that doesn't actually give much away (other then it hasn't worked)
>
> [EMAIL PROTECTED] Certificate_Conversion_Tools(new)]$ export
> LD_LIBRARY_PATH=`pwd`
> [EMAIL PROTECTED] Certificate_Conversion_Tools(new)]$ ./certutil -N -d certdb/
>
> certutil: function failed: An I/O error occurred during security
> authorization.

This error message is not ideal.  It doesn't tell you what the problem
is.

To NSS team: this error message corresponds to the error code
SEC_ERROR_IO.  We should at least remove "during security
authorization" because we use SEC_ERROR_IO in other situations,
not to mention I don't know what "security authorization" means.
Also, CKR_DEVICE_ERROR gets mapped to SEC_ERROR_IO.
Is there a better NSS error code for CKR_DEVICE_ERROR?

> I repeated the exercise with the  "nss-3.10.tar.gz" and that produced
> ..so's and executables that worked as documented. (which tends to suggest
> that my build and run-time environments are OK)
>
> I am a relative newcomer to Linux and to NSS - what am I doing wrong!!!!!

The fact that NSS 3.10 works for you is evidence that your problem with
NSS 3.11.4 is caused by the missing new files.

Please let me know if transferring libfreebl3.so and libfreebl3.chk fixes
the problem for you.  Thanks!

Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to