Certutil does not work - missing libssl3.so
Hi there,
I'm trying to import a cetrificate using certutil. When I execute certutil I get the following error:
/certutil: error while loading shared libraries: libssl3.so: cannot open shared object file: No such file or directory
I know that libssl3.so is present at <install_dir>/imq/lib
Any ideas about how to make this work?
Thanks
# 1
Hi,
Did you set all of your environment variables? You need to set LD_LIBRARY_PATH and PATH:
1) Add the location of $AS_NSS (the directory in which the NSS libraries reside in your Application Server installation) to the LD_LIBRARY_PATH variable
2) Add the location of $AS_NSS_BIN (the directory in which the NSS tools reside) to the Path environment variable.
Take a look at the article "Key Management and PKCS#11 Tokens in Sun Java System Application Server 8.1", as it may be useful to you.
If you are still having problems, please reply with more details about what you have tried and any errors that you are getting. Also let us know which version of AppServer / NSS you are using.
Hope this helps
roho at 2007-7-6 21:09:38 >

# 2
Thank you very much!
I knew it had something to do with some environment variable, I didn't know it was LD_LIBRARY_PATH.
There does still seem to be something wrong/missing:
xxxx@xxxx:~$ certutil -L -d /opt/SUNWappserver/domains/domain1/config/
certutil: NSS_Initialize failed: An I/O error occurred during security authoriza tion.
I am using the J2EE SDK 2005Q1.
I already have a certificate and keys.
My main goal is to import the existing certificate and keys and make the AppServer use it for SSL. I came across http://java.sun.com/developer/technicalArticles/WebServices/appserv8-1.html which uses certutil. The J2EE Tutorial, however, speaks about keytool.
I am a bit confused about how to proceed.