Hi, I am trying to get an SSL connection to an LDAP server using the LDAP SDK and PerLDAP. I can make that work without SSL, but I think I need to create a certificate database in order to use SSL. So I am trying to use certutil, and not having any luck.
I downloaded nss-3.11.tar.gz from the Mozilla FTP site into a directory called /usr/local/pkg/nss and expanded it into /usr/local/pkg/nss/nss-3.11 When I go into the bin directory and enter just ./certutil, I get this message: ld.so.1: ./certutil: fatal: libplc4.so: open failed: No such file or directory Since that .so file is in the lib dir under my LDAP C SDK (5.08), and since the certutil program might need libraries from the lib dir under the nss dir, I do this: LD_LIBRARY_PATH=/usr/local/pkg/ldapsdk/lib:/usr/local/pkg/nss/nss-3.11/lib export LD_LIBRARY_PATH Now when I try and run certutil, I get this: ld.so.1: ./certutil: fatal: libnss3.so: version `NSS_3.4' not found (required by file ./certutil) ld.so.1: ./certutil: fatal: libnss3.so: open failed: No such file or directory Killed The same thing happened when I tried using 3.10. I then try and use version 3.4. I download that, change the LD_LIBRARY_PATH to the 3.4.2 dir as such: LD_LIBRARY_PATH=/usr/local/pkg/ldapsdk/lib:/usr/local/pkg/nss/nss-3.4.2/lib export LD_LIBRARY_PATH and if I run certutil with no arguments, I get the usage notes. But if I try and create a cert database using ./certutil -N I get this: Bus Error (core dumped) I'm running this on a Sun Fire V100 server running Solaris 9. When I downloaded NSS versions 3.11 and 3.10, I got the Solaris 9 OPT versions. For 3.4.2 I had to get the Solaris 8 version. Can someone point me in the right direction? Thanks... Jim McCullars University of Alabama in Huntsville _______________________________________________ dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

